aboutsummaryrefslogtreecommitdiffstats
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
commitc913917942ee16c0d4472d3ed344b506d1bfa50c (patch)
treef45d3b0ecec6d5bc12f0abd0afae24dd057289ac
parentfa8bb62f49c83ba3cef3d034aceb12d55ca2b226 (diff)
downloadprosody-c913917942ee16c0d4472d3ed344b506d1bfa50c.tar.gz
prosody-c913917942ee16c0d4472d3ed344b506d1bfa50c.zip
mod_storage_sql2: Add a 'caps' table for indicating support for optional features
-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