[omemo] Fix traceback with zeroconf

This commit is contained in:
Philipp Hörist
2018-05-21 11:59:58 +02:00
parent 452fe538fd
commit 9d524c36c1

View File

@@ -228,6 +228,8 @@ class OmemoPlugin(GajimPlugin):
def before_sendmessage(self, chat_control):
account = chat_control.account
if account == 'Local':
return
contact = chat_control.contact
con = self.connections[account]
self.new_fingerprints_available(chat_control)