]> granicus.if.org Git - ejabberd/commitdiff
Add notice about rooms_unused_destroy using the room history (#2787)
authorBadlop <badlop@process-one.net>
Wed, 6 Feb 2019 15:33:36 +0000 (16:33 +0100)
committerBadlop <badlop@process-one.net>
Wed, 6 Feb 2019 15:34:02 +0000 (16:34 +0100)
src/mod_muc_admin.erl

index 5c8e5478cd81a88369a261c09c98b39f40727981..ec0cf65ec7735c949e574c388bebdacdb0cfcf03 100644 (file)
@@ -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],