Mercurial > prosody-hg
diff plugins/mod_pubsub/pubsub.lib.lua @ 9102:f3a1ecc46f20
mod_pubsub: Advertise default access model in disco
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 04 Aug 2018 03:33:21 +0200 |
| parents | 7de4eec02ece |
| children | 31bf4b3abc7f |
line wrap: on
line diff
--- 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
