Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 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 |
parent | 11625:04abe65b8067 |
child | 11969:395dce95508d |
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)