[Standards] Chat markers and pagination

Spencer MacDonald spencer.macdonald.other at gmail.com
Thu Dec 4 09:11:26 UTC 2014


It is assumed that you either load the last X Messages or you load all of
them.

Typically if you sign in on a client that has no (previous) cache, you
would only download the last few messages e.g. 25 per chat, then the user
can manually download messages prior to that.

Spencer

On Thu, Dec 4, 2014 at 1:50 AM, priya v <pria.v03 at gmail.com> wrote:

> How would chat markers work when they are used in the context of
> pagination? Please consider the following use case to get a better
> understanding of my question-
>
> Assume there are 50 messages stored in a user's archive store. Of which a
> marker of type 'delivered' is received for the 25th message. Assume an XMPP
> client queried for the first 10 messages from the user's store.
>
> Should the server send the 25th marker even if the 25th message is not
> sent?
> Messages from 1 to 10 might have been read without any markers being sent.
>
> The spec doesn't talk of cases where markers are used in conjunction with
> RSM. How do we handle such cases?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20141204/4cfb5a1b/attachment.html>


More information about the Standards mailing list