diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-04 03:33:21 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-04 03:33:21 +0200 |
commit | 32a393cf9cd60af12e9174e4c3c8485a6baaeb78 (patch) | |
tree | a8390811dc642ab0f92c870ff92dd8e3a364e3c8 /plugins/mod_pubsub/pubsub.lib.lua | |
parent | cf89a1ac164248c6d24e0f87e363044c43db70cd (diff) | |
download | prosody-32a393cf9cd60af12e9174e4c3c8485a6baaeb78.tar.gz prosody-32a393cf9cd60af12e9174e4c3c8485a6baaeb78.zip |
mod_pubsub: Advertise default access model in disco
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 67d085c0..9888a0fd 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -187,6 +187,10 @@ function _M.get_feature_set(service) end end + if service.node_defaults.access_model then + supported_features:add("access-"..service.node_defaults.access_model); + end + return supported_features; end |