[Standards] FINAL: XEP-0085 (Chat State Notifications)
js-xmpp-standards at webkeks.org
Thu Nov 27 15:07:35 UTC 2008
Am 26.11.2008 um 22:21 schrieb XMPP Extensions Editor:
> Version 2.0 of XEP-0085 (Chat State Notifications) has been released.
> Abstract: This document defines an XMPP protocol extension for
> communicating the status of a user in a chat session, thus
> indicating whether a chat partner is actively engaged in the chat,
> composing a message, temporarily paused, inactive, or gone. The
> protocol can be used in the context of a one-to-one chat session or
> a multi-user chat room.
> Changelog: Per a vote of the XMPP Council, advanced specification to
> Final; clarified the implicit discovery mechanism. (psa)
> Diff: http://svn.xmpp.org:18080/browse/XMPP/trunk/extensions/xep-0085.xml?%40diffMode=u&%40diffWrap=s&r1=37&r2=2536&u=3&ignore=&k=
> URL: http://www.xmpp.org/extensions/xep-0085.html
Damn! We overlooked this one:
Upon receiving a <gone/> event, a client MUST NOT re-use the same
Thread ID and MUST generate a new Thread ID for any subsequent chat
messages sent to the conversation partner.
This is different to what the Threads XEP says, IIRC. Plus, it's a bad
idea to close the session when there's a gone event, as you might
close the window in an encrypted session and don't want to end it just
because you closed the window.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: This is a digitally signed message part
More information about the Standards