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 | 026a6de4a73ebc54f6e6bd8363c7418cd26196d7 (patch) | |
tree | 202d8b20021f294839d2a0f1f803301064a273f6 /plugins/mod_pep_plus.lua | |
parent | d3ee2e679e549908c57b75b1bf6d5744755f669c (diff) | |
download | prosody-026a6de4a73ebc54f6e6bd8363c7418cd26196d7.tar.gz prosody-026a6de4a73ebc54f6e6bd8363c7418cd26196d7.zip |
mod_pep_plus: Default to max one item per node (Recomended for PEP)
Diffstat (limited to 'plugins/mod_pep_plus.lua')
-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"; |