aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index ebeb6175..0fadd6e7 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -653,6 +653,7 @@ local function archive_itemstore(archive, config, user, node)
return archive:delete(user);
end
function get_set:resize(size) -- luacheck: ignore 212/self
+ max_items = size;
return archive:delete(user, {
truncate = size;
});