Changeset

4221:e5998f53f4ff

mod_cloud_notify: make logging more clear
author tmolitor <thilo@eightysoft.de>
date Mon, 19 Oct 2020 16:31:01 +0200
parents 4220:0b1b7d671448
children 4222:02292b892fce
files mod_cloud_notify/mod_cloud_notify.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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