mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 11:39:14 +00:00
Fix: message.getInfo (#1953)
window.Store.MessageInfo.sendQueryMsgInfo now needs msg.id instead of msg
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user