Only check for 110 to know if the presence is ours
This is only be needed for non-compliant servers. Removing as there might be corner cases where it's actually harmful. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
eec8dcc206
commit
7c7523e0ab
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class MucTab(ChatTab):
|
|||
if presence['type'] == 'error':
|
||||
self.core.room_error(presence, self.jid.bare)
|
||||
elif not self.joined:
|
||||
own = '110' in status_codes or self.own_nick == presence['from'].resource
|
||||
own = '110' in status_codes
|
||||
if own or len(self.presence_buffer) >= 10:
|
||||
self.process_presence_buffer(presence, own)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue