diff options
author | Badlop <badlop@process-one.net> | 2016-06-08 21:16:30 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2016-06-08 21:16:30 +0200 |
commit | 4ccc40bce53f177a862224b50d21dee8965e729d (patch) | |
tree | 96b72ff8f109b13c53a3d693f8e22b46b33c3c3e | |
parent | Recover fix of 907e239 lost in 9deb294 (thanks to Alexey Shchepin) (diff) |
push_roster must convert read strings to binaries (#1075)
-rw-r--r-- | src/mod_admin_extra.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 5aebd3ff2..562087d96 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -1166,7 +1166,8 @@ subscribe_roster({Name, Server, Group, Nick}, [{Name, Server, _, _} | Roster]) - subscribe_roster({Name, Server, Group, Nick}, Roster); %% Subscribe Name2 to Name1 subscribe_roster({Name1, Server1, Group1, Nick1}, [{Name2, Server2, Group2, Nick2} | Roster]) -> - subscribe(Name1, Server1, Name2, Server2, Nick2, Group2, <<"both">>, []), + subscribe(Name1, Server1, list_to_binary(Name2), list_to_binary(Server2), + list_to_binary(Nick2), list_to_binary(Group2), <<"both">>, []), subscribe_roster({Name1, Server1, Group1, Nick1}, Roster). push_alltoall(S, G) -> |