mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Clarify correcting a message multiple times
This commit is contained in:
parent
6c624a2937
commit
a3dc32643c
@ -21,6 +21,12 @@
|
||||
<supersededby/>
|
||||
<shortname>message-correct</shortname>
|
||||
&ksmith;
|
||||
<revision>
|
||||
<version>1.1</version>
|
||||
<date>2019-03-08</date>
|
||||
<initials>kis</initials>
|
||||
<remark><p>Clear up confusion about subsequent corrections and ids (it's the payloads getting replaced, not the message identity).</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>1.0</version>
|
||||
<date>2013-04-08</date>
|
||||
@ -98,6 +104,7 @@
|
||||
<p>A single message may be corrected multiple times by subsequent edits.</p>
|
||||
<p>A correction MUST only be allowed when both the original message and correction are received from the same full-JID.</p>
|
||||
<p>While it's not possible to prevent this protocol from being used in such a way, it is not intended that it provides a way to continue expanding a previous message indefinitely and clients, in as much as it is sensible, should present use of this extension only for correction rather than for providing a continuous stream, for which &xep0301; can be used instead.</p>
|
||||
<p>If the same message is to be corrected several times, the id of the original message is used in each case (e.g. If a message of id 1 is corrected by a message of id 2, a subsequent correction should correct 1, not 2).</p>
|
||||
<p>Correction MUST only be used to change the details of a stanza (e.g. the message body) and not to change the nature of the stanza (e.g. correction MUST NOT be used to turn a chat message into a pubsub notification)</p>
|
||||
<p>While it is possible to use this protocol to correct messages older than the most recent received from a full JID, such use is out of scope for this document and support for this SHOULD NOT be assumed without further negotiation.</p>
|
||||
</section1>
|
||||
|
Loading…
Reference in New Issue
Block a user