-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CS API refers to undefined terms stream ordering
and topological ordering
#1334
Comments
Judging from https://github.com/matrix-org/synapse/blob/66a785733458d0b5801097caff53624e202a91b4/synapse/handlers/sync.py#L831, it seems Synapse doesn't do the ordering properly. |
The spec specifically mentions `stream_ordering` but that's a Synapse specific concept. In any case, the essence of the spec is basically the first 5 members of the room which `stream_ordering` accomplishes. Split off from #17419 (comment) ## Spec compliance > This should be the first 5 members of the room, **ordered by stream ordering**, which are joined or invited. The list must never include the client’s own user ID. When no joined or invited members are available, this should consist of the banned and left users. > > *-- https://spec.matrix.org/v1.10/client-server-api/#_matrixclientv3sync_roomsummary* Related to matrix-org/matrix-spec#1334
After crafting #1917, I think I found how we can derive the following definitions from this existing piece of spec:
Therefore:
|
Link to problem area:
m.heroes
under "Room Summary"Issue
From https://spec.matrix.org/v1.4/client-server-api/#get_matrixclientv3sync definition of
m.heroes
under "Room Summary" definingm.heroes
:(emphasis mine.)
It is not clear what "stream ordering" means. (AFAIK is a concept that Synapse defines for its own use?)
https://spec.matrix.org/v1.4/appendices/ makes no mention either.
Similarly much of the relations work speaks of "topological ordering" that isn't defined either.
Related:
/messages
to use stream ordering for events #852The text was updated successfully, but these errors were encountered: