From 1c2e541e18acbc95b50b4800893637e05c71d0f7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 7 Sep 2018 02:25:39 +0200 Subject: mod_pubsub: Exclude value of FORM_TYPE from stored data --- plugins/mod_pubsub/pubsub.lib.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/mod_pubsub/pubsub.lib.lua') diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 6a98675c..1bd5fa33 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -56,7 +56,7 @@ end 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 node_config_form = dataform { 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 subscribe_options_form = dataform { local node_metadata_form = dataform { { type = "hidden"; - name = "FORM_TYPE"; + var = "FORM_TYPE"; value = "http://jabber.org/protocol/pubsub#meta-data"; }; { -- cgit v1.2.3