aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi_simple.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-05-08 23:47:48 +0200
committerKim Alvefur <zash@zash.se>2020-05-08 23:47:48 +0200
commit56aaa63f96cf5b3aa6477aefd3d1944fc7656a20 (patch)
treec7983337648bb14eb52708e2122a4dfd479363bf /plugins/mod_csi_simple.lua
parent3a0744ac8269dc79b5c8ce7ae1a492975a4ec7bc (diff)
downloadprosody-56aaa63f96cf5b3aa6477aefd3d1944fc7656a20.tar.gz
prosody-56aaa63f96cf5b3aa6477aefd3d1944fc7656a20.zip
mod_csi_simple: Consider XEP-0353: Jingle Message Initiation important
Improves experience with VoIP calls initiated via JMI Closes #1548
Diffstat (limited to 'plugins/mod_csi_simple.lua')
-rw-r--r--plugins/mod_csi_simple.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua
index da2dd953..7fb6b41f 100644
--- a/plugins/mod_csi_simple.lua
+++ b/plugins/mod_csi_simple.lua
@@ -79,6 +79,9 @@ module:hook("csi-is-stanza-important", function (event)
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;