Software /
code /
prosody
Comparison
plugins/mod_pep_plus.lua @ 6449:24cd03cd1847
mod_pep_plus: Remove config form, it moved into pubsub.lib
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Sep 2014 03:07:46 +0200 |
parent | 6444:aab509a9d0ba |
child | 8214:da8bc600902a |
comparison
equal
deleted
inserted
replaced
6444:aab509a9d0ba | 6449:24cd03cd1847 |
---|---|
154 }; | 154 }; |
155 }; | 155 }; |
156 | 156 |
157 node_defaults = { | 157 node_defaults = { |
158 ["pubsub#max_items"] = "1"; | 158 ["pubsub#max_items"] = "1"; |
159 }; | |
160 | |
161 node_config_form = require"util.dataforms".new { | |
162 { | |
163 type = "hidden"; | |
164 name = "FORM_TYPE"; | |
165 value = "http://jabber.org/protocol/pubsub#node_config"; | |
166 }; | |
167 { | |
168 type = "text-single"; | |
169 name = "pubsub#max_items"; | |
170 label = "Max # of items to persist"; | |
171 }; | |
172 }; | 159 }; |
173 | 160 |
174 autocreate_on_publish = true; | 161 autocreate_on_publish = true; |
175 autocreate_on_subscribe = true; | 162 autocreate_on_subscribe = true; |
176 | 163 |