aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua1
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index bcd529ca..f2a25e00 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -221,6 +221,7 @@ function get_pep_service(username)
["access_model"] = "presence";
["send_last_published_item"] = "on_sub_and_presence";
};
+ max_items = max_max_items;
autocreate_on_publish = true;
autocreate_on_subscribe = false;
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index be460f72..4af16a6f 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -224,6 +224,7 @@ function module.load()
node_defaults = {
["persist_items"] = true;
};
+ max_items = max_max_items;
nodestore = node_store;
itemstore = create_simple_itemstore;
broadcaster = simple_broadcast;