# HG changeset patch # User Kim Alvefur # Date 1533346401 -7200 # Node ID f3a1ecc46f208cc26d725a36f1668559d43d8e29 # Parent 1ff694534e98446160d0670025e71cac7be2d01b mod_pubsub: Advertise default access model in disco diff -r 1ff694534e98 -r f3a1ecc46f20 plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Sat Aug 04 03:31:21 2018 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sat Aug 04 03:33:21 2018 +0200 @@ -187,6 +187,10 @@ end end + if service.node_defaults.access_model then + supported_features:add("access-"..service.node_defaults.access_model); + end + return supported_features; end