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

Commits:
4379c2d0 by Philipp Hörist at 2017-10-08T22:29:15+02:00
Execute handler only for the correct account

- - - - -


1 changed file:

- gajim/common/connection_handlers.py


Changes:

=====================================
gajim/common/connection_handlers.py
=====================================
--- a/gajim/common/connection_handlers.py
+++ b/gajim/common/connection_handlers.py
@@ -268,6 +268,9 @@ class ConnectionVcard:
             self._vcard_gc_presence_received)
 
     def _vcard_presence_received(self, obj):
+        if obj.conn.name != self.name:
+            return
+
         if obj.avatar_sha is None:
             # No Avatar is advertised
             return



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/4379c2d014660188706837e4aa6a1320433a2562

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/4379c2d014660188706837e4aa6a1320433a2562
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