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:
parent
cf60eef409
commit
33dfbf1ef6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue