Commit 4203bb37 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Make sure OMEMOConnection exists

parent b9831e98
......@@ -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):
......
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