comparison plugins/mod_pep_plus.lua @ 6444:aab509a9d0ba

mod_pep_plus: Default to max one item per node (Recomended for PEP)
author Kim Alvefur <zash@zash.se>
date Sun, 28 Sep 2014 02:00:44 +0200
parents f4403c270ea2
children 24cd03cd1847
comparison
equal deleted inserted replaced
6443:f4403c270ea2 6444:aab509a9d0ba
150 be_subscribed = true; 150 be_subscribed = true;
151 be_unsubscribed = true; 151 be_unsubscribed = true;
152 152
153 set_affiliation = true; 153 set_affiliation = true;
154 }; 154 };
155 };
156
157 node_defaults = {
158 ["pubsub#max_items"] = "1";
155 }; 159 };
156 160
157 node_config_form = require"util.dataforms".new { 161 node_config_form = require"util.dataforms".new {
158 { 162 {
159 type = "hidden"; 163 type = "hidden";