mod_csi_battery_saver: Add support for urn:xmpp:jingle-message:1 (XEP-0353)
authortmolitor <thilo@eightysoft.de>
Sat, 02 Jul 2022 02:30:06 +0200
changeset 4973 889e1695e935
parent 4972 487f1eb829cf
child 4974 8c7b7db69f5b
mod_csi_battery_saver: Add support for urn:xmpp:jingle-message:1 (XEP-0353)
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