# HG changeset patch # User Kim Alvefur # Date 1638231662 -3600 # Node ID 0f2b5182e80bdc55076f546d5ccb61a4838840d9 # Parent 4c5087ce3c2e7f65e301249b646a6078d6b7a310 mod_storage_sql: Expose multi-user deletion capability archive_store:delete(true) deletes messages for all users, which would allow some simplification when this is supported. diff -r 4c5087ce3c2e -r 0f2b5182e80b plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Mon Nov 29 17:40:40 2021 +0100 +++ b/plugins/mod_storage_sql.lua Tue Nov 30 01:21:02 2021 +0100 @@ -284,6 +284,7 @@ truncate = true; full_id_range = true; ids = true; + wildcard_delete = true; }; archive_store.__index = archive_store function archive_store:append(username, key, value, when, with)