From bfd1f93fbf82b038852ee1a21acac1e125a557d4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 12 Oct 2017 01:37:35 +0200 Subject: mod_pep_plus: Make node persistence configurable via pubsub#persist_items --- plugins/mod_pubsub/pubsub.lib.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/mod_pubsub') diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 56b0cb42..77bc958e 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -45,6 +45,11 @@ local node_config_form = dataform { name = "pubsub#max_items"; label = "Max # of items to persist"; }; + { + type = "boolean"; + name = "pubsub#persist_items"; + label = "Persist items to storage"; + }; }; function handlers.get_items(origin, stanza, items, service) -- cgit v1.2.3