add default affiliation

This commit is contained in:
Yann Leboulanger 2005-10-04 12:21:16 +00:00
parent f1dd5657f5
commit c0d7d3cb0b
1 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,8 @@ class GroupchatWindow(chat.Chat):
return
if not role:
role = 'visitor'
if not affiliation:
affiliation = 'none'
model = self.list_treeview[room_jid].get_model()
if show in ('offline', 'error'):
if statusCode == '307':