fix: message.getInfo() works for both MD and non-MD

This commit is contained in:
Pedro Lopez
2022-02-27 23:28:57 -04:00
parent 12d9735b73
commit 6691d25282

View File

@@ -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;