1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

1.1rc1: described last activity in initial presence

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3300 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2009-07-01 21:54:49 +00:00
parent a75ef415cb
commit 2cf9922161

View File

@ -24,7 +24,7 @@
&stpeter;
<revision>
<version>1.1rc1</version>
<date>in progress, last updated 2009-05-27</date>
<date>in progress, last updated 2009-07-01</date>
<initials>psa</initials>
<remark><p>Added use case for initial presence.</p></remark>
</revision>
@ -63,6 +63,7 @@
</presence>
]]></example>
<p>This can be read as "I'm now online and I was last online at this client 24 hours and 111 seconds ago".</p>
<p>Including last activity information in an initial presence notification enables &xep0060; and &xep0163; nodes to optimize item delivery (e.g., by sending only the items that were published after a subscriber went offline the last time) and enables &xep0045; rooms to optimize the delivery of discussion history messages.</p>
</section2>
<section2 topic='Away and Extended Away' anchor='away'>
<p>When a client automatically sets the user's &SHOW; value to "away" or "xa" (extended away), it can indicate when that particular was last active during the current presence session.</p>