Zeroconf: handle only zeroconf messages

This commit is contained in:
Philipp Hörist 2017-08-02 21:03:12 +02:00
parent e2d61012c6
commit 0c6002b9ac
1 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,8 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
msg=_('Please check if avahi-daemon is running.')))
def _nec_stanza_message_outgoing(self, obj):
if obj.conn.name != self.name:
return
def on_send_ok(stanza_id):
gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self,