# HG changeset patch # User Stephen Paul Weber # Date 1730477286 18000 # Node ID b4bf44765ce6a764b5a4df38149610b748bce01d # Parent 8cb37a497e4cb30c39eb953bfa29b2f4835698e4 mod_push2: fix some log lines diff -r 8cb37a497e4c -r b4bf44765ce6 mod_push2/mod_push2.lua --- 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