add default affiliation
This commit is contained in:
parent
f1dd5657f5
commit
c0d7d3cb0b
1 changed files with 2 additions and 0 deletions
|
@ -349,6 +349,8 @@ class GroupchatWindow(chat.Chat):
|
||||||
return
|
return
|
||||||
if not role:
|
if not role:
|
||||||
role = 'visitor'
|
role = 'visitor'
|
||||||
|
if not affiliation:
|
||||||
|
affiliation = 'none'
|
||||||
model = self.list_treeview[room_jid].get_model()
|
model = self.list_treeview[room_jid].get_model()
|
||||||
if show in ('offline', 'error'):
|
if show in ('offline', 'error'):
|
||||||
if statusCode == '307':
|
if statusCode == '307':
|
||||||
|
|
Loading…
Add table
Reference in a new issue