diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-07 02:25:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-07 02:25:39 +0200 |
commit | 1c2e541e18acbc95b50b4800893637e05c71d0f7 (patch) | |
tree | 9ee4a6dd37608d1e8e30ded2098e8158f4b9d519 /plugins/mod_pubsub | |
parent | dc6901699be4368be7a98d3c6cdb8fbf14c74712 (diff) | |
download | prosody-1c2e541e18acbc95b50b4800893637e05c71d0f7.tar.gz prosody-1c2e541e18acbc95b50b4800893637e05c71d0f7.zip |
mod_pubsub: Exclude value of FORM_TYPE from stored data
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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"; }; { |