# HG changeset patch # User Matthew Wild # Date 1614093809 0 # Node ID ea820de692654ef06d05c6909553f415fe3a09bd # Parent 8b8246031a5ee86aeaa7f1acdad3d3214df3922b mod_cloud_notify: Consider incoming XEP-0353 call requests as important diff -r 8b8246031a5e -r ea820de69265 mod_cloud_notify/mod_cloud_notify.lua --- 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