From ffe33c5da3d66795890868796befb9fd936d1ab3 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 9 May 2013 13:20:46 +0200 Subject: Add a little workaround for MUC servers that do not send the 110 status --- src/tabs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tabs.py b/src/tabs.py index e927a0c7..8dfc8095 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1408,7 +1408,10 @@ class MucTab(ChatTab): new_user = User(from_nick, affiliation, show, status, role, jid) self.users.append(new_user) self.core.events.trigger('muc_join', presence, self) - if '110' in status_codes: + if '110' in status_codes or self.own_nick == from_nick: + # second part of the condition is a workaround for old + # ejabberd or every gateway in the world that just do + # not send a 110 status code with the presence self.own_nick = from_nick self.joined = True if self.get_name() in self.core.initial_joins: -- cgit v1.2.3