diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-28 02:00:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-28 02:00:44 +0200 |
commit | c36bde729167d6aed130866f72b89ad3d00a558a (patch) | |
tree | 202d8b20021f294839d2a0f1f803301064a273f6 /plugins | |
parent | a578c75039fb478ec21e170d8731f04cd8a563aa (diff) | |
download | prosody-c36bde729167d6aed130866f72b89ad3d00a558a.tar.gz prosody-c36bde729167d6aed130866f72b89ad3d00a558a.zip |
mod_pep_plus: Default to max one item per node (Recomended for PEP)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pep_plus.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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"; |