[FIX] Reply to messages with new function on Store
This commit is contained in:
parent
bf0fe8496c
commit
ef4a59a4c4
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class Message extends Base {
|
|||
if(quotedMessage.canReply()) {
|
||||
const chat = Store.Chat.get(chatId);
|
||||
chat.composeQuotedMsg = quotedMessage;
|
||||
chat.sendMessage(message, {quotedMsg: quotedMessage});
|
||||
window.Store.SendMessage(chat, message, {quotedMsg: quotedMessage});
|
||||
chat.composeQuotedMsg = null;
|
||||
} else {
|
||||
throw new Error('This message cannot be replied to.');
|
||||
|
|
|
|||
Loading…
Reference in a new issue