roost-im / roost

An experimental new Zephyr client
MIT License
4 stars 2 forks source link

Add user-local message ids #52

Open davidben opened 10 years ago

davidben commented 10 years ago

Was thinking about infinite scroll this evening... I think to really implement that properly, we need user-local consecutive message IDs, otherwise it's really difficult to answer the "runway offset => visible messages" question in general. (And generality is needed to decouple scroll position from everything else. Not possible to actually answer, but we can approximate in the cases we can't answer accurately and it'll be fine.)

davidben commented 10 years ago

Hrm. No actually we might be able to avoid explicitly storing it? Depends on how easy it is to coerce MySQL into doing what we want. But tomorrow.