mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Add notice about rooms_unused_destroy using the room history (#2787)
This commit is contained in:
parent
6cd458d205
commit
2819e26c8f
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user