mod_cloud_notify: make logging more clear
authortmolitor <thilo@eightysoft.de>
Mon, 19 Oct 2020 16:31:01 +0200
changeset 4225 e5998f53f4ff
parent 4224 0b1b7d671448
child 4226 02292b892fce
mod_cloud_notify: make logging more clear
mod_cloud_notify/mod_cloud_notify.lua
--- a/mod_cloud_notify/mod_cloud_notify.lua	Fri Oct 16 18:48:08 2020 +0100
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Mon Oct 19 16:31:01 2020 +0200
@@ -342,7 +342,7 @@
 				push_publish:tag("publish-options"):add_child(st.deserialize(push_info.options));
 			end
 			-- send out push
-			module:log("debug", "Sending%s push notification for %s@%s to %s (%s)", form_data["last-message-body"] and " important" or "", node, module.host, push_info.jid, tostring(push_info.node));
+			module:log("debug", "Sending %s push notification for %s@%s to %s (%s)", form_data["last-message-body"] and "important" or "unimportant", node, module.host, push_info.jid, tostring(push_info.node));
 			-- module:log("debug", "PUSH STANZA: %s", tostring(push_publish));
 			-- handle push errors for this node
 			if push_errors[push_identifier] == nil then