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:
Philipp Hörist 2018-04-04 22:16:46 +02:00
parent 1b8d76bf9e
commit 898ac96647
1 changed files with 1 additions and 1 deletions

View File

@ -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 \