diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-28 01:50:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-28 01:50:17 +0200 |
commit | c5cf61eed2ccea6fd9eec0df19afbf2481c20349 (patch) | |
tree | 51b34c22e50ab1591eb9efb69f2403444f710433 /plugins/mod_pubsub | |
parent | 1d050ce4e500189e7dd6c0bb4a298afc45cbd1bb (diff) | |
download | prosody-c5cf61eed2ccea6fd9eec0df19afbf2481c20349.tar.gz prosody-c5cf61eed2ccea6fd9eec0df19afbf2481c20349.zip |
mod_pubsub: Add max items to node config form
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/mod_pubsub.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index 1107061e..1364bd27 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -223,6 +223,11 @@ function module.load() name = "FORM_TYPE"; value = "http://jabber.org/protocol/pubsub#node_config"; }; + { + type = "text-single"; + name = "pubsub#max_items"; + label = "Max # of items to persist"; + }; }; autocreate_on_publish = autocreate_on_publish; |