Diff

plugins/mod_pubsub/mod_pubsub.lua @ 6446:011ca9b88179

mod_pubsub: Move node config form into pubsub.lib (Thanks Florob)
author Kim Alvefur <zash@zash.se>
date Sun, 28 Sep 2014 02:47:54 +0200
parent 6441:bcb1ea9047d3
child 6450:25d86b0f2147
child 6515:c9a72c64c3e2
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua	Sun Sep 28 02:41:13 2014 +0200
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Sun Sep 28 02:47:54 2014 +0200
@@ -218,19 +218,6 @@
 			};
 		};
 
-		node_config_form = require"util.dataforms".new {
-			{
-				type = "hidden";
-				name = "FORM_TYPE";
-				value = "http://jabber.org/protocol/pubsub#node_config";
-			};
-			{
-				type = "text-single";
-				name = "pubsub#max_items";
-				label = "Max # of items to persist";
-			};
-		};
-
 		autocreate_on_publish = autocreate_on_publish;
 		autocreate_on_subscribe = autocreate_on_subscribe;