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

Commits:
898ac966 by Philipp Hörist at 2018-04-04T22:16:46+02:00
Some status codes should only be in our presence

Some Servers broadcast these status codes in every presence which
is wrong accoring to the XEP

- - - - -


1 changed file:

- gajim/groupchat_control.py


Changes:

=====================================
gajim/groupchat_control.py
=====================================
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -1749,7 +1749,7 @@ class GroupchatControl(ChatControlBase):
         # status_code
         # http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-\
         # init
-        if obj.status_code:
+        if obj.status_code and obj.nick == self.nick:
             if '110' in obj.status_code:
                 # We just join the room
                 if self.room_jid in app.automatic_rooms[self.account] and \



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/898ac9664796ef8fe16b1caeefa261cdc74db06d

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

Reply via email to