aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-30 01:21:02 +0100
committerKim Alvefur <zash@zash.se>2021-11-30 01:21:02 +0100
commit0a50cf1be43fc088c5a115d3f32bc4f9b8c0b2e8 (patch)
treedf3336bdbbdd2317c4fbde614e594963329e8f3e /plugins
parent0edc44c2cc8e2788e27cce6227134f7883bcc2a8 (diff)
downloadprosody-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.lua1
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)