diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-08-04 09:49:23 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-08-04 09:49:23 +0200 |
commit | 72b0fb49e89e811492a1bc0a299d540a25d4eef6 (patch) | |
tree | ee3c1d39c7aa7df663729ede551e894cb2c742cc | |
parent | Add tokens cache to ejabberd_oauth (diff) |
-rw-r--r-- | src/mod_admin_extra.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index c23fd7818..8e9ea007f 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -1171,8 +1171,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, list_to_binary(Name2), list_to_binary(Server2), - list_to_binary(Nick2), list_to_binary(Group2), <<"both">>, []), + subscribe(Name1, Server1, iolist_to_binary(Name2), iolist_to_binary(Server2), + iolist_to_binary(Nick2), iolist_to_binary(Group2), <<"both">>, []), subscribe_roster({Name1, Server1, Group1, Nick1}, Roster). push_alltoall(S, G) -> |