summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-24 10:53:31 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-24 10:56:38 +0300
commit26092086b62afd9bdef93f4756ae7558ec681e9a (patch)
tree56d6a31a681d8c0027e6709a0cd16f29045704b6 /protocols/JabberG/src/jabber_proto.cpp
parentde9873b0039e8085cb665e0b2ab6946a972e8e3e (diff)
jabber: omemo: improoved 4.4, working on 4.5
fixed few bug in session store implementation improoved session store to avoid possible collisions 4.5 internally done //TODO: wrap all internal data to omemo "MessageElement" and send it
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index d2ce816639..71e630bd4a 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -964,7 +964,7 @@ int __cdecl CJabberProto::SendMsg(MCONTACT hContact, int, const char* pszSrc)
if(m_options.UseOMEMO && OmemoIsEnabled(hContact) && !mir_wstrcmp(msgType, L"chat")) //omemo enabled in options, omemo enabled for contact
{
- OmemoEncryptMessage(m, msg);
+ OmemoEncryptMessage(m, msg, hContact);
}
else
{