Software /
code /
prosody-modules
Changeset
4464:ea820de69265
mod_cloud_notify: Consider incoming XEP-0353 call requests as important
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 23 Feb 2021 15:23:29 +0000 |
parents | 4463:8b8246031a5e |
children | 4465:2a7a76712e71 |
files | mod_cloud_notify/mod_cloud_notify.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_cloud_notify/mod_cloud_notify.lua Tue Feb 23 03:22:33 2021 +0100 +++ b/mod_cloud_notify/mod_cloud_notify.lua Tue Feb 23 15:23:29 2021 +0000 @@ -281,6 +281,9 @@ -- check xep373 pgp (OX) https://xmpp.org/extensions/xep-0373.html if stanza:get_child("openpgp", "urn:xmpp:openpgp:0") then return true; end + -- XEP-0353: Jingle Message Initiation (incoming call request) + if stanza:get_child("propose", "urn:xmpp:jingle-message:0") then return true; end + local body = stanza:get_child_text("body"); -- groupchat subjects are not important here