From 6d3078fd77823ab62b25ebfeb563bb3b6a699cc1 Mon Sep 17 00:00:00 2001 From: Jie <51285767+DimplesY@users.noreply.github.com> Date: Wed, 27 Aug 2025 06:34:43 +0800 Subject: [PATCH] fix: Correct method invocation (#3720) --- src/util/Injected/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Injected/Utils.js b/src/util/Injected/Utils.js index 675073e..d615945 100644 --- a/src/util/Injected/Utils.js +++ b/src/util/Injected/Utils.js @@ -249,7 +249,7 @@ exports.LoadUtils = () => { if (typeof chat.id?.isGroup === 'function' && chat.id.isGroup()) { from = chat.groupMetadata && chat.groupMetadata.isLidAddressingMode ? lidUser : meUser; - participant = window.Store.WidFactory.toUserWid(from); + participant = window.Store.WidFactory.toUserWidOrThrow(from); } const newMsgKey = new window.Store.MsgKey({