aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-05-19 18:24:53 +0200
committerKim Alvefur <zash@zash.se>2015-05-19 18:24:53 +0200
commit720a6a5deb52fbc3944bb7a9a5f46a3dd33f46f8 (patch)
treef45d3b0ecec6d5bc12f0abd0afae24dd057289ac /plugins
parent27a5c819f44a16fd8f6dfae24ed53dcc4366ff67 (diff)
downloadprosody-720a6a5deb52fbc3944bb7a9a5f46a3dd33f46f8.tar.gz
prosody-720a6a5deb52fbc3944bb7a9a5f46a3dd33f46f8.zip
mod_storage_sql2: Add a 'caps' table for indicating support for optional features
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_sql2.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua
index aab37697..21299f33 100644
--- a/plugins/mod_storage_sql2.lua
+++ b/plugins/mod_storage_sql2.lua
@@ -215,6 +215,9 @@ function keyval_store:users()
end
local archive_store = {}
+archive_store.caps = {
+ total = true;
+};
archive_store.__index = archive_store
function archive_store:append(username, key, value, when, with)
if type(when) ~= "number" then