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
commit7a66b6374c4b447d193f341447b4d6cee84293e4 (patch)
tree9ee4a6dd37608d1e8e30ded2098e8158f4b9d519 /plugins/mod_pubsub
parent3d0909ee7d595b2f3fde73407624c03fc12a24ef (diff)
downloadprosody-7a66b6374c4b447d193f341447b4d6cee84293e4.tar.gz
prosody-7a66b6374c4b447d193f341447b4d6cee84293e4.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";
};
{