aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-07 02:25:39 +0200
committerKim Alvefur <zash@zash.se>2018-09-07 02:25:39 +0200
commit1c2e541e18acbc95b50b4800893637e05c71d0f7 (patch)
tree9ee4a6dd37608d1e8e30ded2098e8158f4b9d519 /plugins/mod_pubsub
parentdc6901699be4368be7a98d3c6cdb8fbf14c74712 (diff)
downloadprosody-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.lua6
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";
};
{