aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-24 00:26:40 +0100
committerKim Alvefur <zash@zash.se>2019-12-24 00:26:40 +0100
commitef1a12de07bec2a01242dd53f6157ec75b3f9637 (patch)
tree63fc27eefb661d43037817ab75757fbef47c694f /plugins
parent20d4a9b614d36aa41a446784cf40d08e965498b2 (diff)
downloadprosody-ef1a12de07bec2a01242dd53f6157ec75b3f9637.tar.gz
prosody-ef1a12de07bec2a01242dd53f6157ec75b3f9637.zip
mod_muc_mam: Schedule cleanup again on failure
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_muc_mam.lua1
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