diff options
author | Badlop <badlop@process-one.net> | 2013-06-21 11:43:23 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2013-06-21 11:43:23 +0200 |
commit | 109ed1a8b1c83752d0dea64feb1d5e466215604a (patch) | |
tree | a7962d32138e3f66535204e64ac8f9dc34bd7cc2 /src | |
parent | fix empty itemid on publish when passing Access (diff) |
According to XEP-0045, a MUC member is allowed to retrieve the members list
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_muc_room.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 05a6ec4c0..ef1931780 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -1140,6 +1140,7 @@ is_occupant_or_admin(JID, StateData) -> FAffiliation = get_affiliation(JID, StateData), FRole = get_role(JID, StateData), case FRole /= none orelse + FAffiliation == member orelse FAffiliation == admin orelse FAffiliation == owner of true -> true; |