-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Sometimes rooms/{roomId}/messages doesn't sort the messages and misses some #2066
Comments
correct, /messages sorts by the topological ordering of the room; that's not strictly related to the timestamp. |
Do you mean that the following is not a problem and should stay the same for a user? With /sync: With /messages: With /messages and limit=2 Is that ok? I was surprised to see the inconsistency as a user. |
I don't want to insist but I feel like this is a problem, don't you? |
I would expect a fresh /sync and /messages to return the same order. This sounds more as if you are specifying different 'from' tokens or something? |
reopening to try to give more detail - @erikjohnston perhaps you can help clarify too. |
@ara4n: |
related #7164 |
I try to get the last 10 messages of a room.
They are not sorted (by time) so I though I would do it in the client.
But I noticed that I didn't really get the last 10 ones.
There were newer messages not returned by /messages.
I also saw this problem on the web riot client. With sync there were no problem but after reloading the web client, I saw some newer messages displayed before old ones.
At first I was checking this for an irc channel, but I also saw it in the matrix hq room.
I have the permalink (from the matrix hq room) if I you want me to post them here, tell me.
The text was updated successfully, but these errors were encountered: