diff options
author | Kim Alvefur <zash@zash.se> | 2015-05-19 18:24:53 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-05-19 18:24:53 +0200 |
commit | 720a6a5deb52fbc3944bb7a9a5f46a3dd33f46f8 (patch) | |
tree | f45d3b0ecec6d5bc12f0abd0afae24dd057289ac /plugins | |
parent | 27a5c819f44a16fd8f6dfae24ed53dcc4366ff67 (diff) | |
download | prosody-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.lua | 3 |
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 |