Philipp Hörist pushed to branch master at gajim / gajim

Commits:
0c6002b9 by Philipp Hörist at 2017-08-02T21:03:12+02:00
Zeroconf: handle only zeroconf messages

- - - - -


1 changed file:

- gajim/common/zeroconf/connection_zeroconf.py


Changes:

=====================================
gajim/common/zeroconf/connection_zeroconf.py
=====================================
--- a/gajim/common/zeroconf/connection_zeroconf.py
+++ b/gajim/common/zeroconf/connection_zeroconf.py
@@ -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,



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/0c6002b9ac749116bf0cbf7ddc6777b3ac9ce4a5

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/0c6002b9ac749116bf0cbf7ddc6777b3ac9ce4a5
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to