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

[omemo] Dont change dict during iteration

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