Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
12152:0939675955f1 | 12153:26af75c20163 |
---|---|
219 ["max_items"] = 1; | 219 ["max_items"] = 1; |
220 ["persist_items"] = true; | 220 ["persist_items"] = true; |
221 ["access_model"] = "presence"; | 221 ["access_model"] = "presence"; |
222 ["send_last_published_item"] = "on_sub_and_presence"; | 222 ["send_last_published_item"] = "on_sub_and_presence"; |
223 }; | 223 }; |
224 max_items = max_max_items; | |
224 | 225 |
225 autocreate_on_publish = true; | 226 autocreate_on_publish = true; |
226 autocreate_on_subscribe = false; | 227 autocreate_on_subscribe = false; |
227 | 228 |
228 nodestore = nodestore(username); | 229 nodestore = nodestore(username); |