Skip to content
Snippets Groups Projects
Commit 4203bb37 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Make sure OMEMOConnection exists

parent b9831e98
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment