diff options
author | Kim Alvefur <zash@zash.se> | 2021-11-30 01:21:02 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-11-30 01:21:02 +0100 |
commit | 0a50cf1be43fc088c5a115d3f32bc4f9b8c0b2e8 (patch) | |
tree | df3336bdbbdd2317c4fbde614e594963329e8f3e /plugins | |
parent | 0edc44c2cc8e2788e27cce6227134f7883bcc2a8 (diff) | |
download | prosody-0a50cf1be43fc088c5a115d3f32bc4f9b8c0b2e8.tar.gz prosody-0a50cf1be43fc088c5a115d3f32bc4f9b8c0b2e8.zip |
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.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index e49b7ccd..f034a0eb 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -284,6 +284,7 @@ archive_store.caps = { 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) |