Skip to content

Commit 060992b

Browse files
committed
Improve roster API commands documentation
1 parent c0c6939 commit 060992b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mod_admin_extra.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ get_commands_spec() ->
612612
result = {res, rescode}},
613613
#ejabberd_commands{name = add_rosteritem, tags = [roster],
614614
desc = "Add an item to a user's roster (supports ODBC)",
615+
longdesc = "The client will receive a `jabber:iq:roster` IQ notifying them of the added entry.",
615616
module = ?MODULE, function = add_rosteritem,
616617
version = 1,
617618
note = "updated in 24.02",
@@ -630,6 +631,7 @@ get_commands_spec() ->
630631
%%{"", "will add mike@server.com to peter@localhost roster"},
631632
#ejabberd_commands{name = delete_rosteritem, tags = [roster],
632633
desc = "Delete an item from a user's roster (supports ODBC)",
634+
longdesc = "The client will receive a `jabber:iq:roster` IQ notifying them of the removed entry.",
633635
module = ?MODULE, function = delete_rosteritem,
634636
args = [{localuser, binary}, {localhost, binary},
635637
{user, binary}, {host, binary}],

0 commit comments

Comments
 (0)