From d28f6ca5efb3382629feb0bb27cec6a541f1c6b5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 4 Aug 2018 03:33:21 +0200 Subject: mod_pubsub: Advertise default access model in disco --- plugins/mod_pubsub/pubsub.lib.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/mod_pubsub') 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 -- cgit v1.2.3