25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Merge pull request #585 from CorCornelisse/master

push_roster* not updated on binarification
This commit is contained in:
badlop 2015-06-02 12:24:46 +02:00
commit 0de7864880

View File

@ -378,12 +378,12 @@ commands() ->
#ejabberd_commands{name = push_roster, tags = [roster], #ejabberd_commands{name = push_roster, tags = [roster],
desc = "Push template roster from file to a user", desc = "Push template roster from file to a user",
module = ?MODULE, function = push_roster, module = ?MODULE, function = push_roster,
args = [{file, string}, {user, string}, {host, string}], args = [{file, binary}, {user, binary}, {host, binary}],
result = {res, rescode}}, result = {res, rescode}},
#ejabberd_commands{name = push_roster_all, tags = [roster], #ejabberd_commands{name = push_roster_all, tags = [roster],
desc = "Push template roster from file to all those users", desc = "Push template roster from file to all those users",
module = ?MODULE, function = push_roster_all, module = ?MODULE, function = push_roster_all,
args = [{file, string}], args = [{file, binary}],
result = {res, rescode}}, result = {res, rescode}},
#ejabberd_commands{name = push_alltoall, tags = [roster], #ejabberd_commands{name = push_alltoall, tags = [roster],
desc = "Add all the users to all the users of Host in Group", desc = "Add all the users to all the users of Host in Group",