# HG changeset patch # User Kim Alvefur # Date 1604666980 -3600 # Node ID 4ae1d485a9c6c894ff58ad0bdf4fad0d497df7e6 # Parent 6c7c50a4de32d2976b5070e6845532913323b513 mod_pubsub: Fix notification stanza type setting (fixes #1605) diff -r 6c7c50a4de32 -r 4ae1d485a9c6 plugins/mod_pubsub/mod_pubsub.lua --- a/plugins/mod_pubsub/mod_pubsub.lua Thu Nov 05 22:27:17 2020 +0100 +++ b/plugins/mod_pubsub/mod_pubsub.lua Fri Nov 06 13:49:40 2020 +0100 @@ -72,7 +72,7 @@ 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 })