util.pubsub: Include node defaults from current service object

This commit is contained in:
Kim Alvefur 2018-08-07 10:52:10 +02:00
parent 052bd96a9f
commit 5a5354e422

View file

@ -633,6 +633,9 @@ function service:get_node_config(node, actor)
for k, v in pairs(default_node_config) do
config_table[k] = v;
end
for k, v in pairs(self.node_defaults) do
config_table[k] = v;
end
for k, v in pairs(node_obj.config) do
config_table[k] = v;
end