Changeset

13789:1a8e47d42264 13.0

doap: Add XEP-0334
author Kim Alvefur <zash@zash.se>
date Sun, 23 Mar 2025 19:57:06 +0100
parents 13788:36ac4fbab2f8
children 13790:24252947a8ca
files doc/doap.xml plugins/mod_mam/mod_mam.lua plugins/muc/history.lib.lua
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/doap.xml	Sun Mar 23 19:47:34 2025 +0100
+++ b/doc/doap.xml	Sun Mar 23 19:57:06 2025 +0100
@@ -726,6 +726,15 @@
     </implements>
     <implements>
       <xmpp:SupportedXep>
+        <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0334.html"/>
+        <xmpp:version>1.0.0</xmpp:version>
+        <xmpp:since>0.10.0</xmpp:since>
+        <xmpp:status>complete</xmpp:status>
+        <xmpp:note>Used in mod_carbons, mod_mam, and mod_muc</xmpp:note>
+      </xmpp:SupportedXep>
+    </implements>
+    <implements>
+      <xmpp:SupportedXep>
         <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0352.html"/>
         <xmpp:version>1.0.0</xmpp:version>
         <xmpp:since>0.11.0</xmpp:since>
--- a/plugins/mod_mam/mod_mam.lua	Sun Mar 23 19:47:34 2025 +0100
+++ b/plugins/mod_mam/mod_mam.lua	Sun Mar 23 19:57:06 2025 +0100
@@ -341,7 +341,6 @@
 	end
 	if stanza:get_child("no-store", "urn:xmpp:hints")
 	or stanza:get_child("no-permanent-store", "urn:xmpp:hints") then
-		-- XXX Experimental XEP
 		return false, "hint";
 	end
 	if stanza:get_child("store", "urn:xmpp:hints") then
--- a/plugins/muc/history.lib.lua	Sun Mar 23 19:47:34 2025 +0100
+++ b/plugins/muc/history.lib.lua	Sun Mar 23 19:57:06 2025 +0100
@@ -204,7 +204,6 @@
 	local stanza = event.stanza;
 	if stanza:get_child("no-store", "urn:xmpp:hints")
 	or stanza:get_child("no-permanent-store", "urn:xmpp:hints") then
-		-- XXX Experimental XEP
 		return false, "hint";
 	end
 	if stanza:get_child("store", "urn:xmpp:hints") then