Software /
code /
prosody-modules
Changeset
4489:725768d83830
mod_pubsub_text_interface: Pass node object to broadcaster for config access
Otherwise certain node settings have no effect when asking for the last
item
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 02 Mar 2021 19:20:41 +0100 |
parents | 4488:eea62d30ae08 |
children | 4490:cf2bdb2aaa57 |
files | mod_pubsub_text_interface/mod_pubsub_text_interface.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Tue Mar 02 18:38:13 2021 +0100 +++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Tue Mar 02 19:20:41 2021 +0100 @@ -77,7 +77,7 @@ else pubsub.config.broadcaster("items", node_arg, { [from] = { ["pubsub#include_body"] = true } - }, item); + }, item, nil, pubsub.nodes[node_arg]); reply:body("OK"); end else