From c36bde729167d6aed130866f72b89ad3d00a558a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Sep 2014 02:00:44 +0200 Subject: mod_pep_plus: Default to max one item per node (Recomended for PEP) --- plugins/mod_pep_plus.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/mod_pep_plus.lua b/plugins/mod_pep_plus.lua index de0f92b2..a281f49e 100644 --- a/plugins/mod_pep_plus.lua +++ b/plugins/mod_pep_plus.lua @@ -154,6 +154,10 @@ function get_pep_service(name) }; }; + node_defaults = { + ["pubsub#max_items"] = "1"; + }; + node_config_form = require"util.dataforms".new { { type = "hidden"; -- cgit v1.2.3