Diff

plugins/mod_mam/mod_mam.lua @ 12234:1c47162dd965

plugins: Update for namespace bump in XEP-0353 v0.4.0
author Kim Alvefur <zash@zash.se>
date Tue, 11 Jan 2022 17:51:26 +0100
parent 12030:9f8206e99b89
child 12306:81fc7fc77e68
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Tue Feb 01 14:46:42 2022 +0100
+++ b/plugins/mod_mam/mod_mam.lua	Tue Jan 11 17:51:26 2022 +0100
@@ -370,7 +370,7 @@
 	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