[Standards] MAM IDs

Thijs Alkemade thijs at xnyhps.nl
Mon Feb 17 10:55:58 UTC 2014

On 17 feb. 2014, at 11:26, Kevin Smith <kevin at kismith.co.uk> wrote:

> In MAM, stanzas stored get stamped with a MAM ID by the entity that
> stored them, and entities receiving them then receive this.
> So a general question - are these useful? Are clients going to ignore
> them and just request all history since they last requested it anyway?
> /K

Because querying by date range is unreliable, and should be avoided wherever
possible. The client's and the server's clock could be minutes apart and even
if they were synchronized then multiple messages arriving in the same second
can lead to difficult edge cases.

I'd much rather query by the UUID injected into a message than by the
approximate datestamp.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.jabber.org/pipermail/standards/attachments/20140217/7818884b/attachment.sig>

More information about the Standards mailing list