[omemo] Destroy Connection object on deactivate
This commit is contained in:
@@ -159,6 +159,7 @@ 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':
|
||||||
|
|||||||
Reference in New Issue
Block a user