turt2live / evelium

A matrix chat client to facilitate communication amoung communities, organizations, and individuals
https://evelium.io
GNU General Public License v3.0
7 stars 2 forks source link

Fix timeline messages #93

Open turt2live opened 6 years ago

turt2live commented 6 years ago

The current approach to the timeline leads to some complications with how the notifications will work. Considering Evelium is going the route of client-side calculated notifications/unread counts, an accurate timeline with read receipts is needed.

Currently sync data is stored as per #66 however this just blindly takes the timeline from the response and appends it to an array (which is then transferred as-is throughout the app). We probably need some sort of timeline class, like the js-sdk, to handle the representation of the timeline.

Some concerns are:

This issue is to track the various concerns with how the timeline works and serves to try and figure out how best to treat it.