Commit 148655c5 authored by Philipp Hörist's avatar Philipp Hörist

Terminate esession only if it was active before

This is a regression from !96
parent 381b9b0a
......@@ -1606,6 +1606,8 @@ def activate_esessions(self):
def terminate_esessions(self):
if not (self.session and self.session.enable_encryption):
# e2e was enabled, disable it
jid = str(self.session.jid)
thread_id = self.session.thread_id
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment