mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XEP-0424: Recommend XEP-0428 fallback and XEP-03334 store hint
This commit is contained in:
parent
8217e64306
commit
8ea9b8f1df
@ -2,7 +2,7 @@
|
|||||||
[![Build Status](https://img.shields.io/travis/xsf/xeps.svg)](https://travis-ci.org/xsf/xeps)
|
[![Build Status](https://img.shields.io/travis/xsf/xeps.svg)](https://travis-ci.org/xsf/xeps)
|
||||||
|
|
||||||
XMPP Extension Protocols (XEPs)
|
XMPP Extension Protocols (XEPs)
|
||||||
=========
|
===============================
|
||||||
|
|
||||||
This repository is used to manage work on XMPP Extension Protocols
|
This repository is used to manage work on XMPP Extension Protocols
|
||||||
(XEPs), which are the specifications produced by the XMPP Standards
|
(XEPs), which are the specifications produced by the XMPP Standards
|
||||||
@ -32,6 +32,10 @@ defines the standards process followed by the XMPP Standards Foundation.
|
|||||||
Building XEPs
|
Building XEPs
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
You'll need xmllint and xsltproc.
|
||||||
|
|
||||||
|
On Ubuntu, you can install them with `sudo apt install libxml2-utils xsltproc`
|
||||||
|
|
||||||
To build a single XEP as HTML simply run:
|
To build a single XEP as HTML simply run:
|
||||||
|
|
||||||
make xep-xxxx.html
|
make xep-xxxx.html
|
||||||
|
13
xep-0424.xml
13
xep-0424.xml
@ -26,6 +26,12 @@
|
|||||||
<shortname>message-retract</shortname>
|
<shortname>message-retract</shortname>
|
||||||
&lance;
|
&lance;
|
||||||
&jcbrand;
|
&jcbrand;
|
||||||
|
<revision>
|
||||||
|
<version>0.2.1</version>
|
||||||
|
<date>2020-03-25</date>
|
||||||
|
<initials>jcb</initials>
|
||||||
|
<remark>Recommend XEP-0428 fallback body and XEP-0334 store hint</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.2.0</version>
|
<version>0.2.0</version>
|
||||||
<date>2019-11-11</date>
|
<date>2019-11-11</date>
|
||||||
@ -104,7 +110,14 @@
|
|||||||
<apply-to id="origin-id-1" xmlns="urn:xmpp:fasten:0">
|
<apply-to id="origin-id-1" xmlns="urn:xmpp:fasten:0">
|
||||||
<retract xmlns='urn:xmpp:message-retract:0'/>
|
<retract xmlns='urn:xmpp:message-retract:0'/>
|
||||||
</apply-to>
|
</apply-to>
|
||||||
|
<fallback xmlns="urn:xmpp:fallback:0"/>
|
||||||
|
<body>This person attempted to retract a previous message, but it's unsupported by your client.</body>
|
||||||
|
<store xmlns="urn:xmpp:hints"/>
|
||||||
</message>]]></example>
|
</message>]]></example>
|
||||||
|
|
||||||
|
|
||||||
|
<p>It's RECOMMENDED that you include a &xep0428; tag with fallback text in the <body/>, so that older clients can still indicate the intent to retract and so that older servers will archive the retraction. Additionally, you MAY include a &xep0334; <store/> hint, to indicate that the stanza needs to be archived.</p>
|
||||||
|
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Tombstones' anchor='tombstones'>
|
<section1 topic='Tombstones' anchor='tombstones'>
|
||||||
|
Loading…
Reference in New Issue
Block a user