# HG changeset patch # User Kim Alvefur # Date 1577143600 -3600 # Node ID 670afc079f684bfbae7cd6eefe16ba7074873e3b # Parent 29b3eb95c26824d36e7e3f70fa6860e17e3c0e53 mod_muc_mam: Schedule cleanup again on failure diff -r 29b3eb95c268 -r 670afc079f68 plugins/mod_muc_mam.lua --- a/plugins/mod_muc_mam.lua Tue Dec 24 00:26:37 2019 +0100 +++ b/plugins/mod_muc_mam.lua Tue Dec 24 00:26:40 2019 +0100 @@ -460,6 +460,7 @@ 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