invisible contact is now not shown in GC muc list
This commit is contained in:
parent
217a7d6fb1
commit
3a85cc83a7
|
@ -268,6 +268,8 @@ class GroupchatWindow(chat.Chat):
|
||||||
def chg_user_status(self, room_jid, nick, show, status, role, affiliation, \
|
def chg_user_status(self, room_jid, nick, show, status, role, affiliation, \
|
||||||
jid, reason, actor, statusCode, new_nick, account):
|
jid, reason, actor, statusCode, new_nick, account):
|
||||||
"""When a user changes his status"""
|
"""When a user changes his status"""
|
||||||
|
if show == 'invisible':
|
||||||
|
return
|
||||||
if not role:
|
if not role:
|
||||||
role = 'visitor'
|
role = 'visitor'
|
||||||
model = self.list_treeview[room_jid].get_model()
|
model = self.list_treeview[room_jid].get_model()
|
||||||
|
|
Loading…
Reference in New Issue