mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
mod_muc_room: Let members see admin/owner JIDs
Let members retrieve all affiliation lists in non-anonymous rooms, not just the list of members.
This commit is contained in:
parent
041e886b87
commit
eaaab45c14
@ -2569,8 +2569,8 @@ process_iq_admin(From, get, Lang, SubEl, StateData) ->
|
||||
SAffiliation ->
|
||||
if (FAffiliation == owner) or
|
||||
(FAffiliation == admin) or
|
||||
((FAffiliation == member) and (SAffiliation == member) and
|
||||
not (StateData#state.config)#config.anonymous) ->
|
||||
((FAffiliation == member) and not
|
||||
(StateData#state.config)#config.anonymous) ->
|
||||
Items = items_with_affiliation(SAffiliation,
|
||||
StateData),
|
||||
{result, Items, StateData};
|
||||
|
Loading…
Reference in New Issue
Block a user