diff mod_csi_battery_saver/mod_csi_battery_saver.lua @ 4969:889e1695e935

mod_csi_battery_saver: Add support for urn:xmpp:jingle-message:1 (XEP-0353)
author tmolitor <thilo@eightysoft.de>
date Sat, 02 Jul 2022 02:30:06 +0200
parents 64b7daa6c42c
children f6a2602129c8
line wrap: on
line diff
--- 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