# HG changeset patch # User Stephen Paul Weber # Date 1750785207 18000 # Node ID 27bb0bc3f4b51272b869ef0243ce1a03b6fb51db # Parent 30adcea825c3a52b522443d9fcc1283943c1db93 mod_push2: always push voip notifications Even during grace period diff -r 30adcea825c3 -r 27bb0bc3f4b5 mod_push2/mod_push2.lua --- a/mod_push2/mod_push2.lua Wed Jun 18 14:28:38 2025 +0200 +++ b/mod_push2/mod_push2.lua Tue Jun 24 12:13:27 2025 -0500 @@ -381,7 +381,7 @@ to_host = to_host or module.host -- If another session has recent activity within configured grace period, don't send push - if does_match and match.grace and to_host == module.host and host_sessions[to_user] then + if does_match and match.grace and not is_voip(stanza) and to_host == module.host and host_sessions[to_user] then local now = os_time() for _, session in pairs(host_sessions[to_user].sessions) do if session.last_activity and session.push_registration_id ~= push_registration_id and (now - session.last_activity) < match.grace then