invisible contact is now not shown in GC muc list

This commit is contained in:
Nikos Kouremenos 2005-06-30 15:16:57 +00:00
parent 217a7d6fb1
commit 3a85cc83a7
1 changed files with 2 additions and 0 deletions

View File

@ -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()