set default role to visitor instead of None

This commit is contained in:
Yann Leboulanger 2005-05-15 09:29:45 +00:00
parent 42d0164532
commit c649ef9272
1 changed files with 1 additions and 1 deletions

View File

@ -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':