Changeset

6440:9619809bf50b

mod_pubsub: Add max items to node config form
author Kim Alvefur <zash@zash.se>
date Sun, 28 Sep 2014 01:50:17 +0200
parents 6439:d58ad8bd244b
children 6441:bcb1ea9047d3
files plugins/mod_pubsub/mod_pubsub.lua
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua	Sun Sep 28 01:50:00 2014 +0200
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Sun Sep 28 01:50:17 2014 +0200
@@ -223,6 +223,11 @@
 				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;