Fixed edit when editing text

Closes #1290
This commit is contained in:
Igor Zhukov 2016-12-14 15:37:40 +03:00
parent 563077f69e
commit 1d8e37b27e

View File

@ -2379,6 +2379,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
function editMessage() {
var text = $scope.draftMessage.text
text = RichTextProcessor.parseEmojis(text)
AppMessagesManager.editMessage(editMessageID, text).then(function () {
editMessageID = false