Merge 0.11->trunk
authorKim Alvefur <zash@zash.se>
Fri, 06 Nov 2020 16:52:38 +0100
changeset 11206 58492b4b85ea
parent 11204 bf8f2da84007 (current diff)
parent 11205 4ae1d485a9c6 (diff)
child 11207 d10f59ac7f74
Merge 0.11->trunk
plugins/mod_pubsub/mod_pubsub.lua
--- a/plugins/mod_pubsub/mod_pubsub.lua	Thu Nov 05 22:31:25 2020 +0100
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Fri Nov 06 16:52:38 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 });