Commit 73411fd1 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Dont change dict during iteration

parent c66a90d0
......@@ -159,7 +159,6 @@ class OmemoPlugin(GajimPlugin):
if account == 'Local':
continue
self.connections[account].deactivate()
del self.connections[account]
def _update_caps(self, account):
if account == 'Local':
......
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