diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-04-27 09:16:38 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-04-27 09:20:33 +0300 |
commit | f951527291179c6c056d911c041a538537273bcc (patch) | |
tree | 5fa7222becc33198c078ffec0eae0ddd47bf2af6 /protocols/JabberG/src/jabber_proto.cpp | |
parent | 7b1d58962694bd6dd1971d6eda673ddc0877f7c2 (diff) |
jabber: omemo: work on 4.4, 4.5, 4.7
few fixes in session data backend implementations //looks like require to be reworked a bit
more work with message encryption done (complete but does not work because of broken session ?)
some work with message decryption is done (enough to test session cipher)
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 71e630bd4a..c1f8317706 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -930,11 +930,11 @@ int __cdecl CJabberProto::SendMsg(MCONTACT hContact, int, const char* pszSrc) if (m_options.UseOMEMO)
{
- if (!OmemoCheckSession(hContact)) //check omemo session state and build new session if necessary
+ if (!OmemoCheckSession(hContact)) //check omemo session state and build new session if necessary //TODO: something better
{
- TFakeAckParams *param = new TFakeAckParams(hContact, Translate("Protocol is offline or no JID"));
+ TFakeAckParams *param = new TFakeAckParams(hContact, Translate("Omemo session does not exist yet"));
ForkThread(&CJabberProto::SendMessageAckThread, param);
- return 1;
+ return 0;
}
}
|