From c208c8936a2dfc409c64a36574770645fdee7d78 Mon Sep 17 00:00:00 2001 From: Michal Serlui <70711723+shirser121@users.noreply.github.com> Date: Thu, 26 Jan 2023 23:52:39 +0200 Subject: [PATCH] Fix: message.getInfo (#1953) window.Store.MessageInfo.sendQueryMsgInfo now needs msg.id instead of msg --- 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 7ac5536..867bd88 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -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;