diff --git a/xep-0313.xml b/xep-0313.xml index d78779c6..24f85884 100644 --- a/xep-0313.xml +++ b/xep-0313.xml @@ -29,6 +29,14 @@ &mwild; &ksmith; + + 0.7.4 + 2021-08-23 + ssw + +

Add implementation note about before/after and before-id/after-id

+
+
0.7.3 2021-03-02 @@ -403,7 +411,11 @@

If the client has already seen some messages, it may choose to restrict its query to before and/or after messages it already knows about. This may be done through the 'before-id' - and 'after-id' fields.

+ and 'after-id' fields. + In some cases 'before-id' and 'after-id' are the same as using RSM's + 'before' and 'after' parameters. For more information, see the + Implementation Considerations section. +

@@ -886,6 +898,29 @@ + +

+ Queries in the 'urn:xmpp:mam:2' namespace can be limited using the RSM + 'before' and 'after' parameters. + Normally these are opaque identifiers that are not known until the results + of the first query are returned at which point they can be used to fetch + subsequent pages. + However, MAM specifically defines them as being equal to the archive ID, + meaning that an acceptable value can be known and used in the initial query. + This makes them equivalent to 'before-id' and 'after-id' defined in the + 'urn:xmpp:mam:2#extended' namespace except for the following differences: +

+
    +
  1. + The behavior of using RSM's 'before' and 'after' together is undefined, +
  2. +
  3. + And using 'before' implies paging backwards through the result set while + using 'before-id' does not. +
  4. +
+
+

This specification defines the following XML namespace: