From 865f97c47541d318365da54330da64e8ff75c5cd Mon Sep 17 00:00:00 2001 From: stpeter Date: Wed, 29 Feb 2012 19:06:24 -0700 Subject: [PATCH] 0.0.2 --- inbox/pubsub-since.xml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/inbox/pubsub-since.xml b/inbox/pubsub-since.xml index 07733f02..7c41a33c 100644 --- a/inbox/pubsub-since.xml +++ b/inbox/pubsub-since.xml @@ -22,6 +22,12 @@ NOT_YET_ASSIGNED &hildjj; &stpeter; + + 0.0.2 + 2012-02-29 + psa +

Addressed some feedback from the XMPP Council.

+
0.0.1 2012-02-27 @@ -35,7 +41,7 @@ -

As described in XEP-0256, a subscriber can indicate its last logout time when sending initial presence.

+

As described in XEP-0256, a subscriber (i.e., a subscriber's specific full JID) can indicate its last logout time when sending initial presence.

@@ -43,13 +49,14 @@ ]]>

Upon receiving such an indication, a pubsub or PEP service that supports presence-based notifications and the "pubsub-since" feature defined herein would behave as follows:

    -
  1. The service MUST send to the subscriber all of the notifications stored in the relevant node's history that were generated since the last logout time.
  2. +
  3. The service MUST send to the subscriber's full JID all of the notifications stored in the relevant node's history that were generated since the last logout time.
  4. The service MAY adjust its definition of "interim notification" to account for reasonable clock skew (e.g., including notifications up to five minutes older than the subscriber's last logout time).
  5. The service SHOULD include only the final version of each pubsub notification (e.g., in case of items that were updated during the period when the subscriber was offline).
  6. The service SHOULD NOT include items that were removed from the node.
  7. The service MAY limit the number of notifications that it sends to avoid resource contraints.
  8. -
  9. The service MAY include &xep0059; data so that the subscriber can page through the set of interim notifications.
  10. +
  11. The service MAY include &xep0059; data so that the subscriber can page through the set of interim notifications, as described in Section 6.5.3 of XEP-0060.
+

If the pubsub service receives subsequent available presence from that full JID (even a presence update that includes the last availability indication), it MUST behave according to the rules in XEP-0060 or XEP-0163 (typically this means it would do nothing, since presence-based notifications toggle notifications on when receiving initial presence and toggling notifications off when receiving unavailable presence).

@@ -86,6 +93,10 @@

This document requires no interaction with &IANA;.

+ +

The Last Activity extension (XEP-0012) notates time in seconds before the moment of stanza generation. Although some commenters have suggested that it would be easier to implement last activity notations in terms of UTC timestamps, clients can mitigate some implementation problems by storing the last activity time in UTC instead of local time (in case the device is moved across time zones) and by using standard technologies for clock synchronization such as &rfc1305; and &xep0202;. The five-minute grace period is merely an implementation suggestion; implementation and deployment experience might indicate that other values are more prudent.

+
+

Support for the feature defined in this document is advertised by the ""http://jabber.org/protocol/pubsub#since"" Service Discovery feature.