From 1b333077af5449abb92537079ae09243ed1e5b47 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 10 Feb 2022 11:58:11 +0100 Subject: [PATCH 1/3] XEP-0449: Replace broken ProtoXEP references with their actual entity --- xep-0449.xml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/xep-0449.xml b/xep-0449.xml index 5abdd51a..b34081fb 100644 --- a/xep-0449.xml +++ b/xep-0449.xml @@ -1,12 +1,5 @@ - File metadata element (XEP-xxxx) XEP-xxxx: File metadata element <https://xmpp.org/extensions/inbox/file-metadata.html>." > - Stateless file sharing (XEP-xxxx) XEP-xxxx: Stateless file sharing <https://xmpp.org/extensions/inbox/sfs.html>." > %ents; @@ -82,7 +75,7 @@ Note to editor: The <pack/> element MAY include a <restricted/> element to indicate that this sticker pack may not be used or imported by other users.

- The <pack/> element contains one or more <item/> elements that include details on the stickers in the pack. Each <item/> element has <file/> element as described in &xep-file-metadata;. The metadata MUST include one or multiple <hash/> elements as described in &xep0300;. All stickers in a pack MUST use the same algorithm for their <hash/> elements. The metadata MUST include one <desc/> element that is not qualified by a xml:lang attribute and describes the textual fallback (often an emoji or a sequence of emojis) of the sticker. Each <item/> element further has a <sources/> element as described in &xep-sfs; describing how to retrieve the image file of the sticker. Each <item/> element MAY include one or more <suggest/> elements that include a text that clients may replace with the sticker. <suggest/> elements MAY have an xml:lang attribute. + The <pack/> element contains one or more <item/> elements that include details on the stickers in the pack. Each <item/> element has <file/> element as described in &xep0446;. The metadata MUST include one or multiple <hash/> elements as described in &xep0300;. All stickers in a pack MUST use the same algorithm for their <hash/> elements. The metadata MUST include one <desc/> element that is not qualified by a xml:lang attribute and describes the textual fallback (often an emoji or a sequence of emojis) of the sticker. Each <item/> element further has a <sources/> element as described in &xep0447; describing how to retrieve the image file of the sticker. Each <item/> element MAY include one or more <suggest/> elements that include a text that clients may replace with the sticker. <suggest/> elements MAY have an xml:lang attribute.

Finally, the <pack/> element includes a single <hash/> element as described in &xep0300;, specifying the hash of the sticker pack. See next section on how such hash is generated. @@ -180,7 +173,7 @@ Note to editor: ]]> -

The sending entity uses &xep-sfs; to send the image file from the sticker pack. The <item/>'s <file/> and <sources/> elements from the sticker pack are used as a template. The sending entity MAY add additional <hash/> elements or sources.

+

The sending entity uses &xep0447; to send the image file from the sticker pack. The <item/>'s <file/> and <sources/> elements from the sticker pack are used as a template. The sending entity MAY add additional <hash/> elements or sources.

Additionally, the sending entity adds an element <sticker/> to the message. This element carries an attribute pack referring to the id of the pubsub item carrying the sticker pack. If the sticker pack resides on a pubsub item other than the senders personal eventing (PEP) node named "urn:xmpp:stickers:0", the sending entity must add additional attributes jid and node, referring to the jid of the pubsub node and the name of the node, respectively.

The sending entity SHOULD use the <file/>'s <desc/> content as the message body, except if the sticker was selected based on a suggestion, in which case the content of the corresponding <suggest/> SHOULD be used.

- The security considerations of &xep-sfs; apply. + The security considerations of &xep0447; apply.

From b88da4ad4af5be30b6ca75432a67e1898a00b8c6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 10 Feb 2022 14:40:30 +0100 Subject: [PATCH 2/3] XEP-0449: s/description/descriptions/, as per XEP-0446. --- xep-0449.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xep-0449.xml b/xep-0449.xml index b34081fb..95b9b201 100644 --- a/xep-0449.xml +++ b/xep-0449.xml @@ -143,7 +143,7 @@ image/png 👍 71045 - 512x512 + 512x512 0AdP8lJOWJrugSKOIAqfEKqFatIpG5JBCjjxY253ojQ= @@ -156,7 +156,7 @@ image/png 😘 67016 - 512x512 + 512x512 gw+6xdCgOcvCYSKuQNrXH33lV9NMzuDf/s0huByCDsY= @@ -185,7 +185,7 @@ image/png 😘 67016 - 512x512 + 512x512 gw+6xdCgOcvCYSKuQNrXH33lV9NMzuDf/s0huByCDsY= From b3e6c4ed77a0cc307cc91835ab120290b1532dcb Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 10 Feb 2022 14:40:46 +0100 Subject: [PATCH 3/3] XEP-0449: Release version 0.1.1. --- xep-0449.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xep-0449.xml b/xep-0449.xml index 95b9b201..e315726b 100644 --- a/xep-0449.xml +++ b/xep-0449.xml @@ -26,6 +26,17 @@ stickers &larma; + + 0.1.1 + 2022-02-10 + egp + +
    +
  • Replace ProtoXEP references with actual XEP references.
  • +
  • Use XEP-0446’s <descriptions/> instead of the typo’d <description/>.
  • +
+
+
0.1.0 2020-11-24