aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2019-02-06 16:33:36 +0100
committerBadlop <badlop@process-one.net>2019-02-06 16:34:02 +0100
commit2819e26c8f47f9cf6dc46c19b773daaca1c4510d (patch)
treea2bf543e494fca92e2856127c87c485769254e64
parentDon't consider room's lack of history when history_size is zero (#2787) (diff)
Add notice about rooms_unused_destroy using the room history (#2787)
-rw-r--r--src/mod_muc_admin.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl
index 5c8e5478c..ec0cf65ec 100644
--- a/src/mod_muc_admin.erl
+++ b/src/mod_muc_admin.erl
@@ -173,6 +173,8 @@ get_commands_spec() ->
result = {res, rescode}},
#ejabberd_commands{name = rooms_unused_list, tags = [muc],
desc = "List the rooms that are unused for many days in host",
+ longdesc = "The room recent history is used, so it's recommended "
+ " to wait a few days after service start before running this.",
module = ?MODULE, function = rooms_unused_list,
args_desc = ["Server host", "Number of days"],
args_example = ["example.com", 31],
@@ -182,6 +184,8 @@ get_commands_spec() ->
result = {rooms, {list, {room, string}}}},
#ejabberd_commands{name = rooms_unused_destroy, tags = [muc],
desc = "Destroy the rooms that are unused for many days in host",
+ longdesc = "The room recent history is used, so it's recommended "
+ " to wait a few days after service start before running this.",
module = ?MODULE, function = rooms_unused_destroy,
args_desc = ["Server host", "Number of days"],
args_example = ["example.com", 31],