From 060992bafa56437b53ff8f1fefdc306a2d0585d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Sautret?= Date: Tue, 30 Sep 2025 16:38:23 +0200 Subject: [PATCH] Improve roster API commands documentation --- src/mod_admin_extra.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index c3f605e59..4a7877d19 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -612,6 +612,7 @@ get_commands_spec() -> result = {res, rescode}}, #ejabberd_commands{name = add_rosteritem, tags = [roster], desc = "Add an item to a user's roster (supports ODBC)", + longdesc = "The client will receive a `jabber:iq:roster` IQ notifying them of the added entry.", module = ?MODULE, function = add_rosteritem, version = 1, note = "updated in 24.02", @@ -630,6 +631,7 @@ get_commands_spec() -> %%{"", "will add mike@server.com to peter@localhost roster"}, #ejabberd_commands{name = delete_rosteritem, tags = [roster], desc = "Delete an item from a user's roster (supports ODBC)", + longdesc = "The client will receive a `jabber:iq:roster` IQ notifying them of the removed entry.", module = ?MODULE, function = delete_rosteritem, args = [{localuser, binary}, {localhost, binary}, {user, binary}, {host, binary}],