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) ->
|
||||
case MUCHost of
|
||||
global ->
|
||||
[Roomname, <<"@">>, Host | Results];
|
||||
[<<Roomname/binary, "@", Host/binary>> | Results];
|
||||
Host ->
|
||||
[Roomname, <<"@">>, Host | Results];
|
||||
[<<Roomname/binary, "@", Host/binary>> | Results];
|
||||
_ ->
|
||||
Results
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue