Zeroconf: handle only zeroconf messages
This commit is contained in:
parent
e2d61012c6
commit
0c6002b9ac
1 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,8 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
||||||
msg=_('Please check if avahi-daemon is running.')))
|
msg=_('Please check if avahi-daemon is running.')))
|
||||||
|
|
||||||
def _nec_stanza_message_outgoing(self, obj):
|
def _nec_stanza_message_outgoing(self, obj):
|
||||||
|
if obj.conn.name != self.name:
|
||||||
|
return
|
||||||
|
|
||||||
def on_send_ok(stanza_id):
|
def on_send_ok(stanza_id):
|
||||||
gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self,
|
gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self,
|
||||||
|
|
Loading…
Add table
Reference in a new issue