-
-
Notifications
You must be signed in to change notification settings - Fork 120
Description
Link to problem area: https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3sync
Issue
The spec states that all invite state events should be stripped, but synapse returns the users own invite event in invite_state
without stripping it. Some clients rely on this to report invite timestamps (based on origin_server_timestamp
, which is missing in the stripped event).
I asked about this in #matrix-dev:matrix.org
and @tulir told me:
oh right, I think the invite event itself is also not stripped, but that detail is missing from the C-S spec
in the S-S and AS APIs it's more obvious that the invite event isn't stripped, because the stripped state is nested inside the invite event in the unsigned section
Expected behaviour
The spec should state that the users own invite event is not stripped.