diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-07 10:52:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-07 10:52:10 +0200 |
commit | 85d9a2d09c32d6d8326e63242cf69c976b21d38f (patch) | |
tree | 2d910a9fccdcecd7dc95e314ed37ed8a9da300fe /util | |
parent | 2ce46faa63aea4091dc60b714e77b770a7650a01 (diff) | |
download | prosody-85d9a2d09c32d6d8326e63242cf69c976b21d38f.tar.gz prosody-85d9a2d09c32d6d8326e63242cf69c976b21d38f.zip |
util.pubsub: Include node defaults from current service object
Diffstat (limited to 'util')
-rw-r--r-- | util/pubsub.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index b1aad71f..08b77790 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -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 |