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 | e157a9d6ee57e31d42dfe72afcca6d43e6506cab (patch) | |
tree | 51b34c22e50ab1591eb9efb69f2403444f710433 | |
parent | 33530258c05b37a287da67cfbc35093f0ca5dcb2 (diff) | |
download | prosody-e157a9d6ee57e31d42dfe72afcca6d43e6506cab.tar.gz prosody-e157a9d6ee57e31d42dfe72afcca6d43e6506cab.zip |
mod_pubsub: Add max items to node config form
-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; |