summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/muctab.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index a1f55b8d..ec22cf15 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -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: