Changeset

9274:1712e366b081

mod_pubsub: Exclude value of FORM_TYPE from stored data
author Kim Alvefur <zash@zash.se>
date Fri, 07 Sep 2018 02:25:39 +0200
parents 9273:f2258e9750cf
children 9275:db137a87511b
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Fri Sep 07 01:08:27 2018 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Fri Sep 07 02:25:39 2018 +0200
@@ -56,7 +56,7 @@
 local node_config_form = dataform {
 	{
 		type = "hidden";
-		name = "FORM_TYPE";
+		var = "FORM_TYPE";
 		value = "http://jabber.org/protocol/pubsub#node_config";
 	};
 	{
@@ -157,7 +157,7 @@
 local subscribe_options_form = dataform {
 	{
 		type = "hidden";
-		name = "FORM_TYPE";
+		var = "FORM_TYPE";
 		value = "http://jabber.org/protocol/pubsub#subscribe_options";
 	};
 	{
@@ -170,7 +170,7 @@
 local node_metadata_form = dataform {
 	{
 		type = "hidden";
-		name = "FORM_TYPE";
+		var = "FORM_TYPE";
 		value = "http://jabber.org/protocol/pubsub#meta-data";
 	};
 	{