From 379c01d539737afbe1c32e09a492a240400774e4 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 5 Apr 2017 22:54:45 +0300 Subject: jabber: omemo: working on 4.4 started implementation of omemo session setup (4.4) currently trying to setup session on outgoing message send attempt for simplicity, this must be changed in future fixed bug in incomming message handler (4.7) --- protocols/JabberG/src/jabber_thread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 f9ece29019..0c2aa34d16 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1195,8 +1195,7 @@ void CJabberProto::OnProcessMessage(HXML node, ThreadData *info) for (int i = 0; (xNode = XmlGetChild(node, i)) != NULL; i++) { if (m_options.UseOMEMO) { - //TODO: handle incomming omemo message/key - if ((xNode = XmlGetNthChild(node, L"encrypted", i + 1)) == NULL) + if ((xNode = XmlGetNthChild(node, L"encrypted", i + 1)) != NULL) { const wchar_t *ptszXmlns = XmlGetAttrValue(xNode, L"xmlns"); if (ptszXmlns == NULL) -- cgit v1.2.3