# HG changeset patch # User Kim Alvefur # Date 1577143664 -3600 # Node ID 9cf7d9761ca2478bd896d02f1a55112e6ebbd094 # Parent 7c29a6e652d2d7f31f711ba4a36555a8bf2e9939 mod_mam: Schedule cleanup again if unable to delete messages diff -r 7c29a6e652d2 -r 9cf7d9761ca2 plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Tue Dec 24 00:27:41 2019 +0100 +++ b/plugins/mod_mam/mod_mam.lua Tue Dec 24 00:27:44 2019 +0100 @@ -388,6 +388,7 @@ num_users = num_users + 1; sum = sum + (tonumber(ok) or 0); else + cleanup_map:set(cut_off, user, true); module:log("error", "Could not delete messages for user '%s': %s", user, err); end end