Changeset

10816:b4c2c7fae7c0 0.11

mod_csi_simple: Consider XEP-0353: Jingle Message Initiation important Improves experience with VoIP calls initiated via JMI Closes #1548
author Kim Alvefur <zash@zash.se>
date Fri, 08 May 2020 23:47:48 +0200
parents 10815:c432b7172fa3
children 10817:7c503938ce1d 10834:c6e852984d48
files plugins/mod_csi_simple.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua	Fri May 08 22:39:01 2020 +0200
+++ b/plugins/mod_csi_simple.lua	Fri May 08 23:47:48 2020 +0200
@@ -79,6 +79,9 @@
 		if stanza:get_child("encryption", "urn:xmpp:eme:0") then
 			return true;
 		end
+		if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
+			return true;
+		end
 		return false;
 	end
 	return true;