Software / code / prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
| 11719:3986b5a0c3fc | 11720:72512c0858b3 |
|---|---|
| 130 }; | 130 }; |
| 131 }; | 131 }; |
| 132 local default_config_mt = { __index = default_config }; | 132 local default_config_mt = { __index = default_config }; |
| 133 | 133 |
| 134 local default_node_config = { | 134 local default_node_config = { |
| 135 ["persist_items"] = false; | 135 ["persist_items"] = true; |
| 136 ["max_items"] = 20; | 136 ["max_items"] = 20; |
| 137 ["access_model"] = "open"; | 137 ["access_model"] = "open"; |
| 138 ["publish_model"] = "publishers"; | 138 ["publish_model"] = "publishers"; |
| 139 }; | 139 }; |
| 140 local default_node_config_mt = { __index = default_node_config }; | 140 local default_node_config_mt = { __index = default_node_config }; |