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
This commit is contained in:
parent
1b8d76bf9e
commit
898ac96647
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue