From 6691d25282a94376da533e93f25b865a890c1716 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Sun, 27 Feb 2022 23:28:57 -0400 Subject: [PATCH] fix: message.getInfo() works for both MD and non-MD --- src/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index ea541fa..d8ea5ba 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -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;