Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment