Fix .sendMessage return (#3612)

Fix sendMessage return
This commit is contained in:
BenyFilho 2025-06-26 15:16:20 -03:00 • committed by GitHub
commit 90f2222df0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
};