Software /
code /
prosody
Changeset
11967:0f2b5182e80b
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Nov 2021 01:21:02 +0100 |
parents | 11966:4c5087ce3c2e |
children | 11968:6e1af07921d1 |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)