Commit 75a4f19d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Clean up old sessions

Delete sessions when we dont have an identity saved for it
parent 912eb62e
......@@ -143,6 +143,8 @@ class KeyDialog(Gtk.Dialog):
except KeyError:
log.warning('Could not find session identitykey %s',
item.device_id)
self._omemo.backend.storage.deleteSession(item.recipient_id,
item.device_id)
continue
key_row.active = item.active
......
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