Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 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
parent 6438:b1c40054b59d
child 6441:bcb1ea9047d3
comparison
equal deleted inserted replaced
6439:d58ad8bd244b 6440:9619809bf50b
221 { 221 {
222 type = "hidden"; 222 type = "hidden";
223 name = "FORM_TYPE"; 223 name = "FORM_TYPE";
224 value = "http://jabber.org/protocol/pubsub#node_config"; 224 value = "http://jabber.org/protocol/pubsub#node_config";
225 }; 225 };
226 {
227 type = "text-single";
228 name = "pubsub#max_items";
229 label = "Max # of items to persist";
230 };
226 }; 231 };
227 232
228 autocreate_on_publish = autocreate_on_publish; 233 autocreate_on_publish = autocreate_on_publish;
229 autocreate_on_subscribe = autocreate_on_subscribe; 234 autocreate_on_subscribe = autocreate_on_subscribe;
230 235