linagora / twake-on-matrix

A multi-platform (Flutter) application for connecting to Matrix - an open network for secure, decentralized communication, with your favorite devices.
GNU Affero General Public License v3.0
64 stars 18 forks source link

[Bug] Incorrect date of last message in chat list #1862

Open tprudentova opened 5 months ago

tprudentova commented 5 months ago

The date of the last message in chat list is Jan 30, however, it's actually much later

https://github.com/linagora/twake-on-matrix/assets/97684890/10452a5f-6ef0-4908-a5cd-97caa5ed4d0c

tprudentova commented 3 months ago

@nqhhdev I still get this issue for some chats on linagora environment

https://github.com/user-attachments/assets/ffde1b92-82c3-4573-831f-23221ad36289

tprudentova commented 3 months ago

Maybe this will help you in any way?.. (Not sure, but attaching it just in case :D)

https://github.com/user-attachments/assets/e02eb307-b64d-4b64-a0de-f9c704ee918e

nqhhdev commented 3 months ago

@tprudentova Yes, I got it. IMO It's related to some event change in chat. So the date time wrong in chat list.

nqhhdev commented 3 months ago

DoD:

hoangdat commented 1 month ago
hoangdat commented 1 month ago

@KhaledNjim can you reply our concern?

Dat's idea: when app loading the whole rooms, the metadata of room is not exactly.

how we display the room item in the Chat list?

KhaledNjim commented 1 month ago

The returned timeline for certain rooms contains primarily m.room.member events, These events are ignored when displaying the room thumbnail, as they are not relevant to the most recent meaningful activity, like messages or updates. As a result, since the timeline is filled with m.room.member events, we lack information about the latest relevant content

Example

 This goupe chat (lina_dev) 

image

image image since all the more recent events are ignored we are displaying the first important event which in this case is this one image

hoangdat commented 1 month ago
hoangdat commented 1 month ago

Image