set default role to visitor instead of None
This commit is contained in:
parent
42d0164532
commit
c649ef9272
|
@ -233,7 +233,7 @@ class Groupchat_window(chat.Chat):
|
|||
jid, reason, actor, statusCode, account):
|
||||
"""When a user changes his status"""
|
||||
if not role:
|
||||
role = 'None'
|
||||
role = 'visitor'
|
||||
model = self.list_treeview[room_jid].get_model()
|
||||
if show == 'offline' or show == 'error':
|
||||
if statusCode == '307':
|
||||
|
|
Loading…
Reference in New Issue