Software /
code /
prosody
Changeset
9144:b40efef8ec99
util.pubsub: Include node defaults from current service object
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 07 Aug 2018 10:52:10 +0200 |
parents | 9143:817f666d9037 |
children | 9145:51c5dd7a8ab9 |
files | util/pubsub.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/pubsub.lua Mon Aug 06 23:20:47 2018 +0200 +++ b/util/pubsub.lua Tue Aug 07 10:52:10 2018 +0200 @@ -633,6 +633,9 @@ 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