From 811613425828e4f4d89f6297886143663bce721c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 21 Jul 2021 23:35:08 +0200 Subject: mod_pubsub: Explicitly enable persistence by default to preserve behavior Since nodes were always persistent according to the XEP-0060 definition. Whether data is stored in memory or on disk was not what this setting was meant for. --- util/pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/pubsub.lua b/util/pubsub.lua index 54b3ec4a..c60da9e7 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -132,7 +132,7 @@ local default_config = { local default_config_mt = { __index = default_config }; local default_node_config = { - ["persist_items"] = false; + ["persist_items"] = true; ["max_items"] = 20; ["access_model"] = "open"; ["publish_model"] = "publishers"; -- cgit v1.2.3