summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-19 13:29:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-19 13:29:13 +0300
commite47f92127158a7f8044e1c10e0908f88ddb52cb3 (patch)
tree0e2d05fc5d60673de8c493619173c3b526773c38 /protocols/JabberG/src/jabber_thread.cpp
parentf68f7312935f37e21597cbecf9cabc0705dea6d8 (diff)
Jabber: - fixes #3521 (Управление OMEMO ключами);
- fixes #3352 (OMEMO: Encrypt for Self Devices); - code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 68a0696630..fcf189bc13 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1283,7 +1283,7 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info)
if (OmemoIsEnabled(hContact)) {
if (auto *encNode = XmlGetChildByTag(node, "encrypted", "xmlns", JABBER_FEAT_OMEMO)) {
- if (!OmemoHandleMessage(encNode, from, msgTime))
+ if (!OmemoHandleMessage(encNode, from, msgTime, bWasSent))
OmemoPutMessageToIncommingQueue(encNode, from, msgTime);
debugLogA("OMEMO processing finished, returning");
return; //we do not want any additional processing