From 90f2222df038ed127f64d61734b3fe78f1412ab6 Mon Sep 17 00:00:00 2001 From: BenyFilho <168232825+BenyFilho@users.noreply.github.com> Date: Thu, 26 Jun 2025 15:16:20 -0300 Subject: [PATCH] Fix .sendMessage return (#3612) Fix sendMessage return --- src/util/Injected/Utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/Injected/Utils.js b/src/util/Injected/Utils.js index 1389540..1bf5704 100644 --- a/src/util/Injected/Utils.js +++ b/src/util/Injected/Utils.js @@ -302,6 +302,9 @@ exports.LoadUtils = () => { } await window.Store.SendMessage.addAndSendMsgToChat(chat, message); + await window.Store.HistorySync.sendPeerDataOperationRequest(3, { + chatId: chat.id + }); return window.Store.Msg.get(newMsgKey._serialized); };