aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-06 01:18:35 +0100
committerKim Alvefur <zash@zash.se>2022-01-06 01:18:35 +0100
commit8a97d634a4c5c5d046424c227a4b26bb9f486481 (patch)
treead017e0fe1b3a44a99fb60a0713c8a3443bef91b /plugins/mod_pep.lua
parentb5b67241e043e9d5e11a5a21f00b9afe7e795282 (diff)
downloadprosody-8a97d634a4c5c5d046424c227a4b26bb9f486481.tar.gz
prosody-8a97d634a4c5c5d046424c227a4b26bb9f486481.zip
util.pubsub: Fix item store resize to "max"
Previously this would end up passing the "max" directly to the underlying storage.
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua1
1 files changed, 1 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;