diff options
author | Kim Alvefur <zash@zash.se> | 2019-03-22 18:01:24 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-03-22 18:01:24 +0100 |
commit | 0028ea46e2aed1e0522da59b3d31912afea2c54a (patch) | |
tree | dbb175c9bf29bc5b562cfcb9a657cec00c602334 /plugins/mod_storage_sql.lua | |
parent | d7761bd914bd38e43de12c248196bc81307c71c5 (diff) | |
download | prosody-0028ea46e2aed1e0522da59b3d31912afea2c54a.tar.gz prosody-0028ea46e2aed1e0522da59b3d31912afea2c54a.zip |
mod_storage_internal,_sql: Expose archive capabilities feature set
This was planned to be added long ago but was forgotten.
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index 4fe2a262..82c5c3fe 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -232,6 +232,8 @@ end local archive_store = {} archive_store.caps = { total = true; + quota = archive_item_limit; + truncate = true; }; archive_store.__index = archive_store function archive_store:append(username, key, value, when, with) |