Skip to content
Snippets Groups Projects
Commit c649ef92 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

set default role to visitor instead of None

parent 42d01645
No related branches found
No related tags found
No related merge requests found
......@@ -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':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment