Document that send_direct_invitation is asynchronous

This commit is contained in:
Badlop 2020-10-16 15:24:52 +02:00
parent f1e04639bb
commit b64fff1faa
1 changed files with 5 additions and 1 deletions

View File

@ -264,7 +264,11 @@ get_commands_spec() ->
#ejabberd_commands{name = send_direct_invitation, tags = [muc_room],
desc = "Send a direct invitation to several destinations",
longdesc = "Password and Message can also be: none. Users JIDs are separated with : ",
longdesc = "Since ejabberd 20.10, this command is "
"asynchronous: the API call may return before the "
"server has send all the invitations.\n\n"
"Password and Message can also be: none. "
"Users JIDs are separated with : ",
module = ?MODULE, function = send_direct_invitation,
args_desc = ["Room name", "MUC service", "Password, or none",
"Reason text, or none", "Users JIDs separated with : characters"],