mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
mod_mam: Clarify comment (thanks chili-b)
This was slightly inaccurate since 6e1af07921d1 because the conditions are more complicated now.
This commit is contained in:
parent
529d711bf1
commit
9efbb2d015
1 changed files with 6 additions and 2 deletions
|
@ -53,8 +53,12 @@ if not archive.find then
|
||||||
end
|
end
|
||||||
local use_total = module:get_option_boolean("mam_include_total", true);
|
local use_total = module:get_option_boolean("mam_include_total", true);
|
||||||
|
|
||||||
function schedule_cleanup()
|
function schedule_cleanup(_username, _date)
|
||||||
-- replaced later if cleanup is enabled
|
-- Called to make a note of which users have messages on which days, which in
|
||||||
|
-- turn is used to optimize the message expiry routine.
|
||||||
|
--
|
||||||
|
-- This noop is conditionally replaced later depending on retention settings
|
||||||
|
-- and storage backend capabilities.
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Handle prefs.
|
-- Handle prefs.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue