From 69600b88ebfb740626ff7ba8eb9f550f8c00a860 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 15 Sep 2021 15:34:57 +0200 Subject: mod_pubsub: Advertise support for 'max' as value for max_items Ref #1643 --- 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 2603c68c..87144173 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -257,6 +257,10 @@ function _M.get_feature_set(service) supported_features:add("persistent-items"); end + if true --[[ node_metadata_form[max_items].datatype == "pubsub:integer-or-max" ]] then + supported_features:add("config-node-max"); + end + return supported_features; end -- cgit v1.2.3