aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-11-06 16:52:38 +0100
committerKim Alvefur <zash@zash.se>2020-11-06 16:52:38 +0100
commitfd7e6d373186a79fc16003ae659d1692bc8c0728 (patch)
tree955614355b2fb700fcc82beda0b27a2c0fbb0372 /plugins/mod_pubsub/mod_pubsub.lua
parent238b2bfc1cdb65ae7d051c2f29c1427149317795 (diff)
parent63f44f3640ba88bec4b910b27a1e0801cb0c0fcf (diff)
downloadprosody-fd7e6d373186a79fc16003ae659d1692bc8c0728.tar.gz
prosody-fd7e6d373186a79fc16003ae659d1692bc8c0728.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index de1000b2..2c3413fd 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 });