summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-05 22:54:45 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-05 23:04:05 +0300
commit379c01d539737afbe1c32e09a492a240400774e4 (patch)
tree425f021ed16c7f6947a4808854821125b505336d /protocols/JabberG/src/jabber_thread.cpp
parentdc38d017dab888de1e2d530b916c94989489af94 (diff)
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)
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp3
1 files changed, 1 insertions, 2 deletions
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)