mod_pubsub: Advertise support for 'max' as value for max_items

Ref #1643
0.12
Kim Alvefur 4 years ago
parent 72e0ff88ba
commit 69600b88eb
  1. 4
      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

Loading…
Cancel
Save