[Standards] MAM Sync Strategies

JC Brand lists at opkode.com
Fri Aug 27 11:22:28 UTC 2021

On 27.08.21 13:12, Sam Whited wrote:
> Thanks JC!
> You're right, I should have mentioned gaps. It's still possible to
> have them in a desktop client because it could always close before it
> finishes paging through catching up on history. I had planned to solve
> that by either switching to committing the entire query in one
> transaction, or changing from using the last message for the sync
> query to using a separate "last message pointer" that gets updated
> only after the entire transaction is over. If for any reason there is
> a gap, this would effectively be the "there's a gap here" pointer
> because you'd see that there existed messages after the last message
> pointer. You could then fill it, or add a marker as you've done. I
> haven't decided what's best yet, so I don't have this implemented
> right now, but it's on my list.

FWIW I've seen markers in Slack, on Twitter and on Mastodon. So they're 
a relatively established UX paradigm.

More information about the Standards mailing list