From c9665438f68ed48f9aeb648ea0da261294a49f37 Mon Sep 17 00:00:00 2001 From: BenyFilho <168232825+BenyFilho@users.noreply.github.com> Date: Fri, 5 Sep 2025 18:20:36 -0300 Subject: [PATCH] Fix method participant on sendMessage (#3778) * Fix method participant on sendMessage * Update Utils.js * Update Utils.js --- 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 9281b1a..0a53c62 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.toUserWidOrThrow(from); + participant = window.Store.WidFactory.asUserWidOrThrow(from); } const newMsgKey = new window.Store.MsgKey({