diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-04 21:45:36 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-04 21:45:39 +0300 |
commit | ef8f9c7b1a42e314f41b214d14169f11d1458d44 (patch) | |
tree | f89ea84e9ffa66e582113f1d72ec66607a51e365 /protocols/JabberG/src/jabber_proto.cpp | |
parent | b5709b28556dbaf3b25f415cb2508c5acd797e5c (diff) |
Jabber: more OMEMO fixes
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 7eac9947c8..99a1ff1688 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -921,7 +921,7 @@ int CJabberProto::SendMsgEx(MCONTACT hContact, const char *pszSrc, XmlNode &m) }
if (OmemoIsEnabled(hContact)) {
- if (!OmemoCheckSession(hContact)) {
+ if (!OmemoCheckSession(hContact, true)) {
OmemoPutMessageToOutgoingQueue(hContact, pszSrc);
int id = SerialNext();
ProtoBroadcastAsync(hContact, ACKTYPE_MESSAGE, ACKRESULT_SUCCESS, (HANDLE)id);
|