summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-10-18 01:33:17 +0200
committermathieui <mathieui@mathieui.net>2018-10-18 01:33:17 +0200
commit9b95b65addf1e543309850d37207a01990cb469f (patch)
tree735687d21cb18886c49efae26b0af7fa49cd421d
parent1ed666c5b541eb7e1a294681790e09eac8cc0f5d (diff)
downloadpoezio-9b95b65addf1e543309850d37207a01990cb469f.tar.gz
poezio-9b95b65addf1e543309850d37207a01990cb469f.tar.bz2
poezio-9b95b65addf1e543309850d37207a01990cb469f.tar.xz
poezio-9b95b65addf1e543309850d37207a01990cb469f.zip
MUC fix for bad servers (#3430)
tentative fix
-rw-r--r--poezio/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 405c2b1f..bc82b2fe 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -427,7 +427,7 @@ class MucTab(ChatTab):
if presence['type'] == 'error':
self.core.room_error(presence, self.name)
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)
else:
self.presence_buffer.append(presence)