From 9a75fd03cca5c16d1563c9bded852651b30e9436 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 16 Aug 2018 15:05:01 +0200 Subject: mod_pubsub: Specify defaults for notification settings --- plugins/mod_pubsub/pubsub.lib.lua | 3 +++ 1 file changed, 3 insertions(+) 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; }; }; -- cgit v1.2.3