Commit 3b6d3b2d authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Dont try to use zeroconf account

parent 63dc147e
...@@ -179,12 +179,18 @@ class OmemoPlugin(GajimPlugin): ...@@ -179,12 +179,18 @@ class OmemoPlugin(GajimPlugin):
return True return True
def _message_received(self, conn, obj, callback): def _message_received(self, conn, obj, callback):
if conn.name == 'Local':
return
self.connections[conn.name].message_received(conn, obj, callback) self.connections[conn.name].message_received(conn, obj, callback)
def _gc_encrypt_message(self, conn, obj, callback): def _gc_encrypt_message(self, conn, obj, callback):
if conn.name == 'Local':
return
self.connections[conn.name].gc_encrypt_message(conn, obj, callback) self.connections[conn.name].gc_encrypt_message(conn, obj, callback)
def _encrypt_message(self, conn, obj, callback): def _encrypt_message(self, conn, obj, callback):
if conn.name == 'Local':
return
self.connections[conn.name].encrypt_message(conn, obj, callback) self.connections[conn.name].encrypt_message(conn, obj, callback)
def _file_decryption(self, url, kind, instance, window): def _file_decryption(self, url, kind, instance, window):
......
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