Software /
code /
prosody
Diff
plugins/mod_pubsub/pubsub.lib.lua @ 9274:1712e366b081
mod_pubsub: Exclude value of FORM_TYPE from stored data
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 07 Sep 2018 02:25:39 +0200 |
parent | 9247:26854d7a4947 |
child | 9817:7aad9eb7f050 |
line wrap: on
line diff
--- 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"; }; {