Software / code / prosody-modules
Changeset
6312:2488254c1bc2
mod_push2: Also push call retractions
So the device can know to stop ringing
| author | Stephen Paul Weber <singpolyma@singpolyma.net> |
|---|---|
| date | Tue, 24 Jun 2025 12:13:51 -0500 |
| parents | 6311:27bb0bc3f4b5 |
| children | 6313:5bd4cbe2bfee |
| files | mod_push2/mod_push2.lua |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_push2/mod_push2.lua Tue Jun 24 12:13:27 2025 -0500 +++ b/mod_push2/mod_push2.lua Tue Jun 24 12:13:51 2025 -0500 @@ -152,6 +152,10 @@ if stanza:get_child("propose", "urn:xmpp:jingle-message:0") then return true, "jingle call" end + + if stanza:get_child("retract", "urn:xmpp:jingle-message:0") then + return true, "jingle call retract" + end end end