[omemo] Dont try to use zeroconf account

This commit is contained in:
Philipp Hörist
2018-05-20 23:57:10 +02:00
parent 63dc147e8b
commit 3b6d3b2dab

View File

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