mod_muc_admin: Fix "muc_online_rooms" output

Don't split the components of room JIDs in the "muc_online_rooms"
output.
This commit is contained in:
Holger Weiss 2014-04-09 23:30:03 +02:00 committed by Holger Wei
parent cf60eef409
commit 33dfbf1ef6
1 changed files with 2 additions and 2 deletions

View File

@ -171,9 +171,9 @@ muc_online_rooms(ServerHost) ->
fun({_, {Roomname, Host}, _}, Results) -> fun({_, {Roomname, Host}, _}, Results) ->
case MUCHost of case MUCHost of
global -> global ->
[Roomname, <<"@">>, Host | Results]; [<<Roomname/binary, "@", Host/binary>> | Results];
Host -> Host ->
[Roomname, <<"@">>, Host | Results]; [<<Roomname/binary, "@", Host/binary>> | Results];
_ -> _ ->
Results Results
end end