Skip to content

Commit

Permalink
[FIX] Reply to messages with new function on Store
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroslopez committed May 30, 2019
1 parent bf0fe84 commit ef4a59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit ef4a59a

Please sign in to comment.