# HG changeset patch # User Kim Alvefur # Date 1536279939 -7200 # Node ID 1712e366b08151f3c9523c979cafd25eb2195852 # Parent f2258e9750cf25c762c37a1ba37f1978d3c7e4c9 mod_pubsub: Exclude value of FORM_TYPE from stored data diff -r f2258e9750cf -r 1712e366b081 plugins/mod_pubsub/pubsub.lib.lua --- 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"; }; {