From 5f5cc186dc1e708b9894b02db57e3dad4ed7cb10 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 22 Nov 2017 21:19:27 +0100 Subject: Fix the case when we receive an unavailable presence while joining --- poezio/tabs/muctab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 328c65ee..6d788b38 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -465,6 +465,8 @@ class MucTab(ChatTab): """ from_nick, _, affiliation, show, status, role, jid, typ = dissect_presence( presence) + if typ == 'unavailable': + return user_color = self.search_for_color(from_nick) new_user = User(from_nick, affiliation, show, status, role, jid, deterministic, user_color) -- cgit v1.2.3