pubsub.lib: Advertise peristent-items feature when nodes and items are persisted

remotes/origin/0.11
Matthew Wild 8 years ago
parent 756c775043
commit 4c86f3f3b6
  1. 4
      plugins/mod_pubsub/pubsub.lib.lua

@ -191,6 +191,10 @@ function _M.get_feature_set(service)
supported_features:add("access-"..service.node_defaults.access_model);
end
if rawget(service.config, "itemstore") and rawget(service.config, "nodestore") then
supported_features:add("persistent-items");
end
return supported_features;
end

Loading…
Cancel
Save