Changeset

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 4968:487f1eb829cf
children 4970:8c7b7db69f5b
files mod_csi_battery_saver/mod_csi_battery_saver.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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