Software /
code /
prosody
Diff
plugins/mod_pubsub/pubsub.lib.lua @ 8320:fe5eaf4ed631
mod_pep_plus: Make node persistence configurable via pubsub#persist_items
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 12 Oct 2017 01:37:35 +0200 |
parent | 8318:d0a7fc7614de |
child | 8323:f2c1d65f706b |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Thu Oct 12 01:34:32 2017 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Thu Oct 12 01:37:35 2017 +0200 @@ -45,6 +45,11 @@ name = "pubsub#max_items"; label = "Max # of items to persist"; }; + { + type = "boolean"; + name = "pubsub#persist_items"; + label = "Persist items to storage"; + }; }; function handlers.get_items(origin, stanza, items, service)