diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-02-11 22:52:27 +0100 | 
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-02-11 22:52:27 +0100 | 
| commit | eaaab45c143ce532c336f5dcd38d5469823b18bc (patch) | |
| tree | 5a0278440d3a7bd1fe93f98d14f13056d63c455f | |
| parent | mod_muc_room: Don't expose JIDs in anonymous rooms (diff) | |
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.
| -rw-r--r-- | src/mod_muc_room.erl | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index f25f33656..06fdf325f 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -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};  | 
