Software /
code /
prosody
Comparison
plugins/mod_csi_simple.lua @ 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 |
parent | 9771:bf92f37de137 |
child | 10817:7c503938ce1d |
comparison
equal
deleted
inserted
replaced
10815:c432b7172fa3 | 10816:b4c2c7fae7c0 |
---|---|
77 return true; | 77 return true; |
78 end | 78 end |
79 if stanza:get_child("encryption", "urn:xmpp:eme:0") then | 79 if stanza:get_child("encryption", "urn:xmpp:eme:0") then |
80 return true; | 80 return true; |
81 end | 81 end |
82 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then | |
83 return true; | |
84 end | |
82 return false; | 85 return false; |
83 end | 86 end |
84 return true; | 87 return true; |
85 end, -1); | 88 end, -1); |
86 | 89 |