Fix: message.getInfo (#1953)

window.Store.MessageInfo.sendQueryMsgInfo now needs msg.id instead of msg
This commit is contained in:
Michal Serlui
2023-01-26 23:52:39 +02:00
committed by GitHub
parent 6cead95f3c
commit c208c8936a

View File

@@ -494,7 +494,7 @@ class Message extends Base {
const msg = window.Store.Msg.get(msgId);
if (!msg) return null;
return await window.Store.MessageInfo.sendQueryMsgInfo(msg);
return await window.Store.MessageInfo.sendQueryMsgInfo(msg.id);
}, this.id._serialized);
return info;