[omemo] Make sure OMEMOConnection exists
This commit is contained in:
@@ -163,6 +163,8 @@ class OmemoPlugin(GajimPlugin):
|
||||
def _update_caps(self, account):
|
||||
if account == 'Local':
|
||||
return
|
||||
if account not in self.connections:
|
||||
self.connections[account] = OMEMOConnection(account, self)
|
||||
self.connections[account].update_caps(account)
|
||||
|
||||
def activate_encryption(self, chat_control):
|
||||
|
||||
Reference in New Issue
Block a user