mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
These arguments should be binary instead of strings, otherwise it won't work properly
This commit is contained in:
parent
100827ec6e
commit
22d9011c0c
@ -418,12 +418,12 @@ commands() ->
|
||||
#ejabberd_commands{name = push_roster, tags = [roster],
|
||||
desc = "Push template roster from file to a user",
|
||||
module = ?MODULE, function = push_roster,
|
||||
args = [{file, string}, {user, string}, {host, string}],
|
||||
args = [{file, binary}, {user, binary}, {host, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = push_roster_all, tags = [roster],
|
||||
desc = "Push template roster from file to all those users",
|
||||
module = ?MODULE, function = push_roster_all,
|
||||
args = [{file, string}],
|
||||
args = [{file, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = push_alltoall, tags = [roster],
|
||||
desc = "Add all the users to all the users of Host in Group",
|
||||
|
Loading…
Reference in New Issue
Block a user