From 32a393cf9cd60af12e9174e4c3c8485a6baaeb78 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(+) 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