From 63f44f3640ba88bec4b910b27a1e0801cb0c0fcf Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 6 Nov 2020 13:49:40 +0100 Subject: mod_pubsub: Fix notification stanza type setting (fixes #1605) --- plugins/mod_pubsub/mod_pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pubsub') 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 }) -- cgit v1.2.3