aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_muc_admin.erl9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl
index 8726856b5..6966d4180 100644
--- a/src/mod_muc_admin.erl
+++ b/src/mod_muc_admin.erl
@@ -208,8 +208,11 @@ get_commands_spec() ->
module = ?MODULE, function = send_direct_invitation,
args_desc = ["Room name", "MUC service", "Password, or none",
"Reason text, or none", "Users JIDs separated with : characters"],
- args_example = ["room1", "muc.example.com", none, none, "user2@localhost:user3@example.com"],
- args = [{name, binary}, {service, binary}, {password, binary}, {reason, binary}, {users, binary}],
+ args_example = [<<"room1">>, <<"muc.example.com">>,
+ <<>>, <<"Check this out!">>,
+ "user2@localhost:user3@example.com"],
+ args = [{name, binary}, {service, binary}, {password, binary},
+ {reason, binary}, {users, binary}],
result = {res, rescode}},
#ejabberd_commands{name = change_room_option, tags = [muc_room],
@@ -277,7 +280,7 @@ get_commands_spec() ->
args_desc = ["Room name", "MUC service"],
args_example = ["room1", "muc.example.com"],
result_desc = "The list of affiliations with username, domain, affiliation and reason",
- result_example = [{"user1", "example.com", "member"}],
+ result_example = [{"user1", "example.com", member, "member"}],
args = [{name, binary}, {service, binary}],
result = {affiliations, {list,
{affiliation, {tuple,