mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.pubsub: Include node defaults from current service object
This commit is contained in:
parent
052bd96a9f
commit
5a5354e422
1 changed files with 3 additions and 0 deletions
|
@ -633,6 +633,9 @@ function service:get_node_config(node, actor)
|
||||||
for k, v in pairs(default_node_config) do
|
for k, v in pairs(default_node_config) do
|
||||||
config_table[k] = v;
|
config_table[k] = v;
|
||||||
end
|
end
|
||||||
|
for k, v in pairs(self.node_defaults) do
|
||||||
|
config_table[k] = v;
|
||||||
|
end
|
||||||
for k, v in pairs(node_obj.config) do
|
for k, v in pairs(node_obj.config) do
|
||||||
config_table[k] = v;
|
config_table[k] = v;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue