diff --git a/xep-0449.xml b/xep-0449.xml index 5abdd51a..e315726b 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; @@ -33,6 +26,17 @@ Note to editor: 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 @@ -82,7 +86,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. @@ -150,7 +154,7 @@ Note to editor: image/png 👍 71045 - 512x512 + 512x512 0AdP8lJOWJrugSKOIAqfEKqFatIpG5JBCjjxY253ojQ= @@ -163,7 +167,7 @@ Note to editor: image/png 😘 67016 - 512x512 + 512x512 gw+6xdCgOcvCYSKuQNrXH33lV9NMzuDf/s0huByCDsY= @@ -180,7 +184,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.

image/png 😘 67016 - 512x512 + 512x512 gw+6xdCgOcvCYSKuQNrXH33lV9NMzuDf/s0huByCDsY= @@ -221,7 +225,7 @@ Note to editor:

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