-
-
Notifications
You must be signed in to change notification settings - Fork 117
Description
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