Merge pull request #28 from weiss/fix-muc-online-rooms

Fix "muc_online_rooms" output
This commit is contained in:
badlop 2014-04-10 12:49:35 +02:00
commit 52878eaff2
1 changed files with 2 additions and 2 deletions

View File

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