Skip to content

Clarify if notifications are cleared by stream ordering or topological ordering #1167

@clokep

Description

@clokep

Link to problem area: https://spec.matrix.org/latest/client-server-api/#receiving-notifications

Issue:

It is not stated clearly which notifications get cleared when a read receipt is received, currently the spec reads:

When the user updates their read receipt (either by using the API or by sending an event), notifications prior to and including that event MUST be marked as read.

It is unclear if "prior to" refers to stream ordering or topological ordering. Synapse clears this based on stream ordering.

(Note that because of the inconsistency in /sync and /messages either could give odd results to a user.)

See conversation around https://matrix.to/#/!NasysSDfxKxZBzJJoE:matrix.org/$sb6NPRyuiu4wN7egyY8SJ6YoubvQqZvJSOlMFsTzVSE?via=matrix.org&via=libera.chat&via=element.io

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions