-
-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Link to problem area: https://spec.matrix.org/v1.12/rooms/v3/#event-format
Issue
We received this pull request to Synapse which ignores incoming room v3+ events over federation if they contain an event_id
field. The rationale being that events in rooms with room version v3+ have their event ID derived from the non-redactable contents of the event.
Given that the event_id
field in such an event would thus be fed into that hashing algorithm, in order to generate itself, this event structure appears improbable. In addition, if such a field exists in the event, it's likely that in practice the sending homeserver is accidentally sending an event constructed for a room v1/v2 room, instead of the v3+ room it's intended to be placed in.
Should the spec clarify that an event received with an event_id
field already included, destined for a v3+ room, should thus not be accepted by the receiving homeserver?