# HG changeset patch # User tmolitor # Date 1656721806 -7200 # Node ID 889e1695e935e89152fd28cef5788c9489e3f828 # Parent 487f1eb829cf66f728035b86016ad622855c3fb2 mod_csi_battery_saver: Add support for urn:xmpp:jingle-message:1 (XEP-0353) diff -r 487f1eb829cf -r 889e1695e935 mod_csi_battery_saver/mod_csi_battery_saver.lua --- a/mod_csi_battery_saver/mod_csi_battery_saver.lua Sat Jul 02 02:29:03 2022 +0200 +++ b/mod_csi_battery_saver/mod_csi_battery_saver.lua Sat Jul 02 02:30:06 2022 +0200 @@ -106,6 +106,7 @@ -- XEP-0353: Jingle Message Initiation incoming call messages if stanza:child_with_ns("urn:xmpp:jingle-message:0") then return true; end + if stanza:child_with_ns("urn:xmpp:jingle-message:1") then return true; end -- carbon copied outgoing messages are important (some clients update their notifications upon receiving those) --> don't return false here --if carbon and stanza_direction == "out" then return false; end