Room previews are often stale
Steps to reproduce
- View room list
- Go into room
- Send some messages
- Wait for them to echo
- Go back to room list
- Room list preview shows the message from before you entered the room (possibly the room cached version). It slowly updates after a second or so to show the right preview. It can switch back and forth between the right and wrong preview as it does so.
Outcome
What did you expect?
reliable room previews
What happened instead?
stale previews and flakiness feeling
Your phone model
No response
Operating system version
No response
Application version
391
Homeserver
No response
Will you send logs?
No
or at the least it lags the traffic of the msgs you’ve sent by several seconds
Just caught this in the act. The Dendrite room preview is showing entirely wrong preview from ages ago (perhaps from a previous stale cache when I last launched the app?)
neither allrooms or visiblerooms list appears to have updated the preview correctly. however, the room order is right, as can be confirmed by opening the room and pulling in timeline, which then fixes the preview
Local echo support in the room preview should fix it. We need to test local echoes on Android. We may then review the complexity if other problems are found.