Software /
code /
prosody
Diff
plugins/mod_pubsub/pubsub.lib.lua @ 9185:60f163e7a7a7
mod_pubsub: Specify defaults for notification settings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Aug 2018 15:05:01 +0200 |
parent | 9184:9fbddb80803b |
child | 9186:9f33a13eb011 |
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; }; };