[Standards] NEW: XEP-0308 (Last Message Correction)- Interop with XEP 0301 RTT

Peter Saint-Andre stpeter at stpeter.im
Thu Jul 19 22:17:39 UTC 2012


On 7/19/12 4:12 PM, Mark Rejhon wrote:
> Here is a proposed amendment to XEP-0301 for full compatibility between
> XEP-0301 and XEP-0308, to accommodate agreement between myself, Lance,
> Peter, and Kevin.
> 
> ___________________
> 
> id
> This OPTIONAL attribute is used only if *Last Message Correction [4]
> *(XEP-0308) is implemented. Sender clients MAY use this attribute to
> allow recipient clients to have improved presentation of real-time text
> during message correction (e.g. shown as in-place editing of previous
> message).
> 
> This *id *attribute refers to the <message/> stanza containing the
> <body/> that is being edited (See 'Business Rules' in XEP-0308). If used
> at all, then *id* MUST be included in all <rtt/> elements transmitted
> during message correction of the previous message. When switching
> messages being edited (i.e. editing the current message versus editing
> the previous message), the first <rtt/> element MUST contain an *event*
> <http://xmpp.org/extensions/xep-0301.html#event> attribute value, such
> as 'reset'. See *Message Reset*
> <http://xmpp.org/extensions/xep-0301.html#message_reset>.
> ___________________

I *think* that is fine, but I will look at the issue again once I've had
a chance to review both XEP-0301 0.4 and XEP-0308 in more detail.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/







More information about the Standards mailing list