diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-09-11 13:59:35 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-09-11 13:59:35 +0100 |
commit | bee45656d7fe68ebc8009d50f4572e6e194dafe1 (patch) | |
tree | c96ba3ae3ece80fffab7276dd0f7f2eab66341fb /plugins | |
parent | 5392ef1dd6c44928b3cf5a42460dbb8f41cace0e (diff) | |
download | prosody-bee45656d7fe68ebc8009d50f4572e6e194dafe1.tar.gz prosody-bee45656d7fe68ebc8009d50f4572e6e194dafe1.zip |
mod_pubsub/pubsub.lib: Export config forms for use by other modules
In this case I need them for 227 import/export.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 90f7dcb1..2603c68c 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -158,6 +158,7 @@ local node_config_form = dataform { value = true; }; }; +_M.node_config_form = node_config_form; local subscribe_options_form = dataform { { @@ -171,6 +172,7 @@ local subscribe_options_form = dataform { label = "Receive message body in addition to payload?"; }; }; +_M.subscribe_options_form = subscribe_options_form; local node_metadata_form = dataform { { @@ -199,6 +201,7 @@ local node_metadata_form = dataform { name = "pubsub#publish_model"; }; }; +_M.node_metadata_form = node_metadata_form; local service_method_feature_map = { add_subscription = { "subscribe", "subscription-options" }; |