# HG changeset patch # User Matthew Wild # Date 1614096613 0 # Node ID 2a7a76712e71288bb83ea6007294425399584d00 # Parent ea820de692654ef06d05c6909553f415fe3a09bd mod_cloud_notify_encrypted: Fix expected namespace of JMI description element diff -r ea820de69265 -r 2a7a76712e71 mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua --- a/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua Tue Feb 23 15:23:29 2021 +0000 +++ b/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua Tue Feb 23 16:10:13 2021 +0000 @@ -8,6 +8,7 @@ local st = require "util.stanza"; local xmlns_jmi = "urn:xmpp:jingle-message:0"; +local xmlns_jingle_apps_rtp = "urn:xmpp:jingle:apps:rtp:1"; local xmlns_push = "urn:xmpp:push:0"; local xmlns_push_encrypt = "tigase:push:encrypt:0"; local xmlns_push_encrypt_aes_128_gcm = "tigase:push:encrypt:aes-128-gcm"; @@ -79,7 +80,7 @@ push_payload.type = "call"; push_payload.sid = jmi_propose.attr.id; local media_types = set.new(); - for description in jmi_propose:childtags("description") do + for description in jmi_propose:childtags("description", xmlns_jingle_apps_rtp) do local media_type = description.attr.media; if media_type then media_types:add(media_type);