diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-24 00:26:40 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-24 00:26:40 +0100 |
commit | 6ceb83042a6648349c99d1be9ced5fd16684e951 (patch) | |
tree | 63fc27eefb661d43037817ab75757fbef47c694f /plugins/mod_muc_mam.lua | |
parent | 9505466b43e4b88152c90a111992d69ae1f97283 (diff) | |
download | prosody-6ceb83042a6648349c99d1be9ced5fd16684e951.tar.gz prosody-6ceb83042a6648349c99d1be9ced5fd16684e951.zip |
mod_muc_mam: Schedule cleanup again on failure
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index c6104757..a9287224 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -460,6 +460,7 @@ if cleanup_after ~= "never" then num_rooms = num_rooms + 1; sum = sum + (tonumber(ok) or 0); else + cleanup_map:set(cut_off, room, true); module:log("error", "Could not delete messages for room '%s': %s", room, err); end end |