Mercurial > prosody-modules
changeset 1152:01fa82074b62
mod_mam: Remove unused table, it was moved to one of the libs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 11 Aug 2013 23:39:34 +0200 |
parents | 28d4b58bcc3b |
children | 572b1ad46182 |
files | mod_mam/mod_mam.lua |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua Sun Aug 11 23:37:26 2013 +0200 +++ b/mod_mam/mod_mam.lua Sun Aug 11 23:39:34 2013 +0200 @@ -31,15 +31,6 @@ local timestamp, timestamp_parse = require "util.datetime".datetime, require "util.datetime".parse; local default_max_items, max_max_items = 20, module:get_option_number("max_archive_query_results", 50); local global_default_policy = module:get_option("default_archive_policy", false); --- TODO Should be possible to enforce it too - --- For translating preference names from string to boolean and back -local default_attrs = { - always = true, [true] = "always", - never = false, [false] = "never", - roster = "roster", -} - local archive_store = "archive2"; local archive = module:open_store(archive_store, "archive");