Skip to content

Commit

Permalink
fix: message.getInfo() works for both MD and non-MD
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroslopez committed Feb 28, 2022
1 parent 12d9735 commit 6691d25
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 @@ -475,7 +475,7 @@ class Message extends Base {
const msg = window.Store.Msg.get(msgId);
if (!msg) return null;

return await window.Store.MessageInfo.sendQueryMsgInfo(msg.id);
return await window.Store.MessageInfo.sendQueryMsgInfo(msg);
}, this.id._serialized);

return info;
Expand Down

0 comments on commit 6691d25

Please sign in to comment.