diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-11 17:51:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-11 17:51:26 +0100 |
commit | 168197a05f9a9d6d2f3caead7b6a5c41961b6c53 (patch) | |
tree | 18dc3036a9c19bdea0f3c90b47994b9158f1f562 | |
parent | 4973762abb8302619cc3cea7458c81ffd1f56a27 (diff) | |
download | prosody-168197a05f9a9d6d2f3caead7b6a5c41961b6c53.tar.gz prosody-168197a05f9a9d6d2f3caead7b6a5c41961b6c53.zip |
plugins: Update for namespace bump in XEP-0353 v0.4.0
-rw-r--r-- | doc/doap.xml | 2 | ||||
-rw-r--r-- | plugins/mod_carbons.lua | 2 | ||||
-rw-r--r-- | plugins/mod_csi_simple.lua | 2 | ||||
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/doap.xml b/doc/doap.xml index f673a059..458c7a37 100644 --- a/doc/doap.xml +++ b/doc/doap.xml @@ -708,7 +708,7 @@ <implements> <xmpp:SupportedXep> <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0353.html"/> - <xmpp:version>0.3.1</xmpp:version> + <xmpp:version>0.4.0</xmpp:version> <xmpp:since>0.11.6</xmpp:since> <xmpp:status>complete</xmpp:status> <xmpp:note>triggers buffer flush in mod_csi_simple since 0.11.6; recognised by mod_carbons and mod_mam since 0.12</xmpp:note> 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 |