Commit 3fee5540 authored by JC Brand's avatar JC Brand

modtools: Also allow querying and setting no affliation

parent 2ec70adc
...@@ -258,7 +258,7 @@ converse.plugins.add('converse-muc-views', { ...@@ -258,7 +258,7 @@ converse.plugins.add('converse-muc-views', {
return tpl_moderator_tools_modal(Object.assign(this.model.toJSON(), { return tpl_moderator_tools_modal(Object.assign(this.model.toJSON(), {
'__': __, '__': __,
'affiliations': AFFILIATIONS, 'affiliations': [...AFFILIATIONS, 'none'],
'allowed_affiliations': allowed_affiliations, 'allowed_affiliations': allowed_affiliations,
'allowed_roles': allowed_roles, 'allowed_roles': allowed_roles,
'loading_users_with_affiliation': this.loading_users_with_affiliation, 'loading_users_with_affiliation': this.loading_users_with_affiliation,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment