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
|
# status_code
|
||||||
# http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-\
|
# http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-\
|
||||||
# init
|
# init
|
||||||
if obj.status_code:
|
if obj.status_code and obj.nick == self.nick:
|
||||||
if '110' in obj.status_code:
|
if '110' in obj.status_code:
|
||||||
# We just join the room
|
# We just join the room
|
||||||
if self.room_jid in app.automatic_rooms[self.account] and \
|
if self.room_jid in app.automatic_rooms[self.account] and \
|
||||||
|
|
Loading…
Reference in New Issue