diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 3 |
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)
|