projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd1ff5
)
mod_pep_plus: Default to max one item per node (Recomended for PEP)
author
Kim Alvefur
<zash@zash.se>
Sun, 28 Sep 2014 00:00:44 +0000
(
02:00
+0200)
committer
Kim Alvefur
<zash@zash.se>
Sun, 28 Sep 2014 00:00:44 +0000
(
02:00
+0200)
plugins/mod_pep_plus.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_pep_plus.lua
b/plugins/mod_pep_plus.lua
index de0f92b218a2f75eeff90ef06cb8301d317592c1..a281f49edcd3aeca53cbde245cccbf66c62e6cf1 100644
(file)
--- 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";