add default affiliation
This commit is contained in:
parent
f1dd5657f5
commit
c0d7d3cb0b
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue