Commit 898ac966 authored by Philipp Hörist's avatar Philipp Hörist

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
parent 1b8d76bf
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment