aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-01 04:46:39 +0200
committerKim Alvefur <zash@zash.se>2018-07-01 04:46:39 +0200
commiteb45d3c3eb88493a8160ecf714c8c00da42cf924 (patch)
tree3ef8d32ad7455b3d79dcac90caa7056110068de9 /plugins/mod_pubsub/mod_pubsub.lua
parent762e7dc70b75f188aa32187a37193ab684ac2e45 (diff)
downloadprosody-eb45d3c3eb88493a8160ecf714c8c00da42cf924.tar.gz
prosody-eb45d3c3eb88493a8160ecf714c8c00da42cf924.zip
mod_pubsub: Remove feature flag for data persistence since node config is now persistent
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 82c787aa..9e9656c1 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -13,8 +13,6 @@ local autocreate_on_subscribe = module:get_option_boolean("autocreate_on_subscri
local pubsub_disco_name = module:get_option_string("name", "Prosody PubSub Service");
local expose_publisher = module:get_option_boolean("expose_publisher", false)
-local enable_persistence = module:get_option_boolean("experimental_pubsub_item_persistence", false);
-
local service;
local lib_pubsub = module:require "pubsub";
@@ -34,13 +32,6 @@ local function create_simple_itemstore(node_config, node_name)
return lib_pubsub.archive_itemstore(archive, node_config, nil, node_name);
end
-if enable_persistence then
- module:log("warn", "Item persistence is an experimental feature. Note that ownership information is lost on restart.")
-else
- create_simple_itemstore = nil;
-end
-
-
function simple_broadcast(kind, node, jids, item, actor, node_obj)
if item then
item = st.clone(item);