Outdated message previews in room list
Steps to reproduce
The room list shows all available chat sorted in descending order by the timestamp of the most recent message. Furthermore, it the chat list displays a preview of the most recent message for each chat. Sometimes when starting the app, the message preview for a chat can be outdated, it will show the preview for a message that is not the most recent message. However, the chat will still be displayed in the correct position in the room list based on the timestamp of the actual most recent message. So, Element X is aware of the most recent message, but still displays an outdated preview.
When opening the room, all messages are displayed correctly. I'm not sure what triggers this issue, so I cannot give steps to reproduce.
Outcome
When I open the app, I expect all room previews to be up-to-date after the app has caught up.
Your phone model
Fairphone 5
Operating system version
/e/OS Android 13
Application version and app store
Element X 25.10.0 (202510002) F-Droid
Homeserver
1.136.0
Will you send logs?
No
Are you willing to provide a PR?
No
For what it's worth, I’m running Element X for Android version 25.10.0 (202510002) on the same device that was installed via Obtainium, and I am not experiencing the same issue.
I was having this for quite a while on SchildiChat Next (Element X fork), good to have confirmation this also happens upstream, as I didn't get around to debugging this one yet. Smells like an SDK issue to me (but again, no debugging yet).
If I remember correctly, at some point in the past the room previews would update after opening a room, but even that stopped working recently, leaving rooms with outdated message previews (but correct unread counts). I have not been able to observe a reliable pattern yet when exactly room previews miss an update.
It is also valid in ElementX for iOS in the latest version 25.10.0 (190). But I can't find any ticket in iOS section of this repo.
However, the chat will still be displayed in the correct position in the room list based on the timestamp of the actual most recent message.
In iOS app not only outdated, but incorrect order too.
This happens on my setup too. Running on: GrapheneOS + Element X 25.10.0 + ntfy 1.17.8. Experiencing the same with latest SchildiChat Next (0.10.9-ex_25_9_2)
Home server is 1.140.0.
Problem still persists. synapse 1.142 element-x on android 25.11.2
Happens in chats/rooms with local users (same homeservers) and remote users (federated homeservers) as well.
Any possibility to help troubleshooting this?
Problem still persists. synapse 1.142 element-x on android 25.11.2
Happens in chats/rooms with local users (same homeservers) and remote users (federated homeservers) as well.
Any possibility to help troubleshooting this?
I can confirm, still exists