diff options
author | Kim Alvefur <zash@zash.se> | 2020-11-06 13:49:40 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-11-06 13:49:40 +0100 |
commit | 6765345a3de27eeef503c18af6f5a6651cc72adc (patch) | |
tree | 38a002c0c90e383c684d2a9868f77b92e5e3b105 /plugins/mod_pubsub | |
parent | 20cb21003f0374e7078e1a29ffb36a7028c6b9ef (diff) | |
download | prosody-6765345a3de27eeef503c18af6f5a6651cc72adc.tar.gz prosody-6765345a3de27eeef503c18af6f5a6651cc72adc.zip |
mod_pubsub: Fix notification stanza type setting (fixes #1605)
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/mod_pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index b6019c71..c13630c9 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -72,7 +72,7 @@ function simple_broadcast(kind, node, jids, item, actor, node_obj) end local id = new_id(); - local msg_type = node_obj and node_obj.config.message_type or "headline"; + local msg_type = node_obj and node_obj.config.notification_type or "headline"; local message = st.message({ from = module.host, type = msg_type, id = id }) :tag("event", { xmlns = xmlns_pubsub_event }) :tag(kind, { node = node }) |