Fix error presence handling
This commit is contained in:
parent
9eb4b29d24
commit
a2440a8b21
1 changed files with 3 additions and 1 deletions
|
@ -273,7 +273,9 @@ class MucTab(ChatTab):
|
|||
status_codes = set()
|
||||
for status_code in presence.xml.findall(STATUS_XPATH):
|
||||
status_codes.add(status_code.attrib['code'])
|
||||
if not self.joined:
|
||||
if presence['type'] == 'error':
|
||||
self.core.room_error(presence, self.name)
|
||||
elif not self.joined:
|
||||
if '110' in status_codes:
|
||||
self.process_presence_buffer(presence)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue