aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-21 23:35:08 +0200
committerKim Alvefur <zash@zash.se>2021-07-21 23:35:08 +0200
commit811613425828e4f4d89f6297886143663bce721c (patch)
tree82a2c00b182a5cb6d8ef60e48638f27a727c1c8c /util/pubsub.lua
parent3756e3c8350e942e5765df06dc24be712d2e3d7a (diff)
downloadprosody-811613425828e4f4d89f6297886143663bce721c.tar.gz
prosody-811613425828e4f4d89f6297886143663bce721c.zip
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.
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
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";