Diff

util/pubsub.lua @ 11720:72512c0858b3

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.
author Kim Alvefur <zash@zash.se>
date Wed, 21 Jul 2021 23:35:08 +0200
parent 11719:3986b5a0c3fc
child 11721:7a77f0c05382
line wrap: on
line diff
--- a/util/pubsub.lua	Wed Jul 21 21:22:17 2021 +0200
+++ b/util/pubsub.lua	Wed Jul 21 23:35:08 2021 +0200
@@ -132,7 +132,7 @@
 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";