mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Allow room member to get members list using XEP
This commit is contained in:
parent
4e72dd6751
commit
0d7a5476c0
@ -2505,7 +2505,8 @@ process_iq_admin(From, get, Lang, SubEl, StateData) ->
|
||||
{'EXIT', _} -> {error, ?ERR_BAD_REQUEST};
|
||||
SAffiliation ->
|
||||
if (FAffiliation == owner) or
|
||||
(FAffiliation == admin) ->
|
||||
(FAffiliation == admin) or
|
||||
((FAffiliation == member) and (SAffiliation == member)) ->
|
||||
Items = items_with_affiliation(SAffiliation,
|
||||
StateData),
|
||||
{result, Items, StateData};
|
||||
|
Loading…
Reference in New Issue
Block a user