Open TobiasFella opened 1 month ago
I think this is ready. Please also check whether this is conceptionally sound
This is only solid because the stored messages for each room are guaranteed not to have any missing chunks between them (historical messages always come in starting from the oldest known message and new syncs always bring all new messages). If this ever changes (sliding sync?), this would probably get a whole lot messier
allHistoryLoaded needs to be adapted
allHistoryLoaded needs to be adapted
Done
Improves startup time, general UX, allows for client-side message search in the future, ... While increasing requiring more storage on the client, of course.
There are some TODOs left in the code for things that need to be implemented and figured out