Merge pull request #28 from weiss/fix-muc-online-rooms
Fix "muc_online_rooms" output
This commit is contained in:
commit
52878eaff2
|
@ -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