aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-11 17:51:26 +0100
committerKim Alvefur <zash@zash.se>2022-01-11 17:51:26 +0100
commit168197a05f9a9d6d2f3caead7b6a5c41961b6c53 (patch)
tree18dc3036a9c19bdea0f3c90b47994b9158f1f562 /plugins
parent4973762abb8302619cc3cea7458c81ffd1f56a27 (diff)
downloadprosody-168197a05f9a9d6d2f3caead7b6a5c41961b6c53.tar.gz
prosody-168197a05f9a9d6d2f3caead7b6a5c41961b6c53.zip
plugins: Update for namespace bump in XEP-0353 v0.4.0
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_carbons.lua2
-rw-r--r--plugins/mod_csi_simple.lua2
-rw-r--r--plugins/mod_mam/mod_mam.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua
index d8d6b3e3..5b0bdeb7 100644
--- a/plugins/mod_carbons.lua
+++ b/plugins/mod_carbons.lua
@@ -57,7 +57,7 @@ local function should_copy(stanza, c2s, user_bare) --> boolean, reason: string
return true, "bounce";
end
- if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
+ if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then
-- XXX Experimental XEP
return true, "jingle call";
end
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua
index 2420705a..569916b0 100644
--- a/plugins/mod_csi_simple.lua
+++ b/plugins/mod_csi_simple.lua
@@ -69,7 +69,7 @@ function is_important(stanza) --> boolean, reason: string
if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
return true, "invite";
end
- if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
+ if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then
-- XXX Experimental XEP
return true, "jingle call";
end
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 92b49fcd..d4b2b060 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -370,7 +370,7 @@ local function should_store(stanza, c2s) --> boolean, reason: string
or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
return true, "invite";
end
- if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
+ if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then
-- XXX Experimental XEP
return true, "jingle call";
end