MUC fix for bad servers (#3430)

tentative fix
This commit is contained in:
mathieui 2018-10-18 01:33:17 +02:00
parent 1ed666c5b5
commit 9b95b65add
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -427,7 +427,7 @@ class MucTab(ChatTab):
if presence['type'] == 'error': if presence['type'] == 'error':
self.core.room_error(presence, self.name) self.core.room_error(presence, self.name)
elif not self.joined: elif not self.joined:
if '110' in status_codes: if '110' in status_codes or self.own_nick == presence['from'].resource:
self.process_presence_buffer(presence) self.process_presence_buffer(presence)
else: else:
self.presence_buffer.append(presence) self.presence_buffer.append(presence)