diff options
author | Kim Alvefur <zash@zash.se> | 2020-11-06 16:52:38 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-11-06 16:52:38 +0100 |
commit | e471dd1a3be264ca287111609d8167be126ee810 (patch) | |
tree | 955614355b2fb700fcc82beda0b27a2c0fbb0372 /plugins/mod_pubsub/mod_pubsub.lua | |
parent | 0c94d96263cffcdbe0cf5ea59ef0b172b32258c2 (diff) | |
parent | 6765345a3de27eeef503c18af6f5a6651cc72adc (diff) | |
download | prosody-e471dd1a3be264ca287111609d8167be126ee810.tar.gz prosody-e471dd1a3be264ca287111609d8167be126ee810.zip |
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-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 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 }); |