mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
clarified processing of some but not all of the interim roster pushes
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3043 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
909f9cf9b6
commit
0a4b08c111
@ -145,7 +145,7 @@
|
||||
<li>However, some of those roster pushes might have contained intermediate updates to the same roster item (e.g., changes in the subscription state for bill@shakespeare.lit from "none" to "to" and from "to" to "both").</li>
|
||||
<li>The interim roster pushes would not include all of the intermediate steps, only the final result of all changes applied while the client was in fact offline.</li>
|
||||
</ol>
|
||||
<p>The client can determine when the interim roster pushes have ended by comparing the version number it received on the empty &QUERY; element against the version number it receives in roster pushes.</p>
|
||||
<p>The client can determine when the interim roster pushes have ended by comparing the version number it received on the empty &QUERY; element against the version number it receives in roster pushes. The client MUST NOT process any of the interim roster pushes until it has processed all of them (this helps to prevent partial processing if the client loses its connection to the server before it has received all of the interim roster pushes).</p>
|
||||
</section2>
|
||||
<section2 topic='Subsequent Roster Pushes' anchor='roster-push'>
|
||||
<p>When the server sends subsequent roster pushes to the client, it MUST include the updated roster version number. Roster pushes MUST occur in sequence order. The version number contained in a roster push MUST be unique. A "change to the roster" is any addition of, update to, or removal of a roster item that would result in a roster push, including changes in subscription states, as described in <cite>RFC 3921</cite> or <cite>rfc3921bis</cite>.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user