summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-09 11:55:32 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-09 11:56:34 +0300
commitf9d4bd465a120f9c2169c02d8303448ca25ea780 (patch)
treef248e5719784c0745edc29b5177a6073de55126e /protocols/JabberG/src/jabber_proto.cpp
parent804a84ec04c938265e80da311106a7f83c4990cb (diff)
jabber: omemo: working on 4.4
implementing signal session store backend
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 46aeb99dc6..de718d8375 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -194,7 +194,8 @@ CJabberProto::~CJabberProto()
mir_free(m_lstJabberFeatCapPairsDynamic[i]->szDescription);
delete m_lstJabberFeatCapPairsDynamic[i];
}
- omemo::clean_sessions();
+ if(m_options.UseOMEMO)
+ omemo::clean_sessions();
}
////////////////////////////////////////////////////////////////////////////////////////