|
|
@ -1716,8 +1716,9 @@ export default class ChatInput { |
|
|
|
|
|
|
|
|
|
|
|
//return;
|
|
|
|
//return;
|
|
|
|
if(this.editMsgId) { |
|
|
|
if(this.editMsgId) { |
|
|
|
if(!!value.trim()) { |
|
|
|
const message = this.chat.getMessage(this.editMsgId); |
|
|
|
this.appMessagesManager.editMessage(this.chat.getMessage(this.editMsgId), value, { |
|
|
|
if(!!value.trim() || message.media) { |
|
|
|
|
|
|
|
this.appMessagesManager.editMessage(message, value, { |
|
|
|
entities, |
|
|
|
entities, |
|
|
|
noWebPage: this.noWebPage |
|
|
|
noWebPage: this.noWebPage |
|
|
|
}); |
|
|
|
}); |
|
|
|