Diff

plugins/mod_pep.lua @ 12153:26af75c20163

util.pubsub: Fix item store resize to "max" Previously this would end up passing the "max" directly to the underlying storage.
author Kim Alvefur <zash@zash.se>
date Thu, 06 Jan 2022 01:18:35 +0100
parent 12091:7a48ccb084dd
child 12248:4dbca0858f0b
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Thu Jan 06 00:59:40 2022 +0100
+++ b/plugins/mod_pep.lua	Thu Jan 06 01:18:35 2022 +0100
@@ -221,6 +221,7 @@
 			["access_model"] = "presence";
 			["send_last_published_item"] = "on_sub_and_presence";
 		};
+		max_items = max_max_items;
 
 		autocreate_on_publish = true;
 		autocreate_on_subscribe = false;