plugins/mod_tombstones.lua
changeset 13213 c8d949cf6b09
parent 12981 74b9e05af71e
child 13217 50324f66ca2a
--- a/plugins/mod_tombstones.lua	Sun Jul 16 21:04:42 2023 +0200
+++ b/plugins/mod_tombstones.lua	Sun Jul 16 20:49:33 2023 +0200
@@ -10,7 +10,7 @@
 local graveyard = module:open_store(nil, "map");
 local graveyard_cache = require "prosody.util.cache".new(module:get_option_number("tombstone_cache_size", 1024));
 
-local ttl = module:get_option_number("user_tombstone_expiry", nil);
+local ttl = module:get_option_period("user_tombstone_expiry", nil);
 -- Keep tombstones forever by default
 --
 -- Rationale: