Software /
code /
prosody
Diff
plugins/mod_storage_sql2.lua @ 6726:e6e80ec50030
mod_storage_sql2: Add a 'caps' table for indicating support for optional features
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 May 2015 18:24:53 +0200 |
parent | 6725:41725f3df3cc |
child | 6727:eb9c842b80fa |
child | 6728:db28b8639737 |
line wrap: on
line diff
--- a/plugins/mod_storage_sql2.lua Tue May 19 18:24:09 2015 +0200 +++ b/plugins/mod_storage_sql2.lua Tue May 19 18:24:53 2015 +0200 @@ -215,6 +215,9 @@ 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