From 3a85cc83a715d62716ffd2a4b697a1dc9b715a65 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 30 Jun 2005 15:16:57 +0000 Subject: [PATCH] invisible contact is now not shown in GC muc list --- src/groupchat_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index caf773dc2..2dc70fa08 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -268,6 +268,8 @@ class GroupchatWindow(chat.Chat): def chg_user_status(self, room_jid, nick, show, status, role, affiliation, \ jid, reason, actor, statusCode, new_nick, account): """When a user changes his status""" + if show == 'invisible': + return if not role: role = 'visitor' model = self.list_treeview[room_jid].get_model()