Changeset

6034:b4bf44765ce6

mod_push2: fix some log lines
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Fri, 01 Nov 2024 11:08:06 -0500
parents 6033:8cb37a497e4c
children 6035:9b50ee822638
files mod_push2/mod_push2.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_push2/mod_push2.lua	Fri Nov 01 11:07:23 2024 -0500
+++ b/mod_push2/mod_push2.lua	Fri Nov 01 11:08:06 2024 -0500
@@ -283,7 +283,7 @@
 		for identifier, push_info in pairs(user_push_services) do
 			for _, match in ipairs(push_info.matches) do
 				if match.match == "urn:xmpp:push2:match:important" then
-					identifier_found.log("debug", "Not pushing because not important")
+					module:log("debug", "Not pushing because not important")
 				else
 					notify_push_services[identifier] = push_info;
 				end
@@ -536,7 +536,7 @@
 					end
 				end
 				if identifier_found then
-					identifier_found.log("debug", "Not pushing '%s' of new MAM stanza (session still alive)", identifier)
+					module:log("debug", "Not pushing '%s' of new MAM stanza (session still alive)", identifier)
 				else
 					notify_push_services[identifier] = push_info
 				end