diff options
author | Badlop <badlop@process-one.net> | 2013-07-11 12:10:47 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2013-07-11 12:11:48 +0200 |
commit | 0d7a5476c0f3221ed5a2939badd74aa1e7e29d69 (patch) | |
tree | 4461f63bd88bbadb3daffb6149fc731d97409e29 /src | |
parent | fix badmatch in send_loop (EJAB-1650) (diff) |
Allow room member to get members list using XEP
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_muc_room.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 152737359..b1c5c92ff 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -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}; |