From e47f92127158a7f8044e1c10e0908f88ddb52cb3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 May 2023 13:29:13 +0300 Subject: =?UTF-8?q?Jabber:=0B=0B-=20fixes=20#3521=20(=D0=A3=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20OMEMO=20=D0=BA?= =?UTF-8?q?=D0=BB=D1=8E=D1=87=D0=B0=D0=BC=D0=B8);?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fixes #3352 (OMEMO: Encrypt for Self Devices); - code cleaning --- protocols/JabberG/src/jabber_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_thread.cpp') 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 -- cgit v1.2.3