diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-16 15:05:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-16 15:05:01 +0200 |
commit | 9a75fd03cca5c16d1563c9bded852651b30e9436 (patch) | |
tree | e3008bd7b36f6ac1178bf150aedac4bf55c6b39b /plugins/mod_pubsub | |
parent | c6cac6d61aa48adb35f349669fea58cabec8dc85 (diff) | |
download | prosody-9a75fd03cca5c16d1563c9bded852651b30e9436.tar.gz prosody-9a75fd03cca5c16d1563c9bded852651b30e9436.zip |
mod_pubsub: Specify defaults for notification settings
Diffstat (limited to 'plugins/mod_pubsub')
-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 99b6ba63..132a4972 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -101,6 +101,7 @@ local node_config_form = dataform { type = "boolean"; label = "Whether to deliver payloads with event notifications"; name = "pubsub#deliver_payloads"; + value = true; }; { type = "list-single"; @@ -115,11 +116,13 @@ local node_config_form = dataform { type = "boolean"; label = "Whether to notify subscribers when the node is deleted"; name = "pubsub#notify_delete"; + value = true; }; { type = "boolean"; label = "Whether to notify subscribers when items are removed from the node"; name = "pubsub#notify_retract"; + value = true; }; }; |