Software /
code /
prosody
Changeset
9185:60f163e7a7a7
mod_pubsub: Specify defaults for notification settings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Aug 2018 15:05:01 +0200 |
parents | 9184:9fbddb80803b |
children | 9186:9f33a13eb011 |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Thu Aug 16 14:44:09 2018 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Thu Aug 16 15:05:01 2018 +0200 @@ -101,6 +101,7 @@ type = "boolean"; label = "Whether to deliver payloads with event notifications"; name = "pubsub#deliver_payloads"; + value = true; }; { type = "list-single"; @@ -115,11 +116,13 @@ 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; }; };