You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
After removing origin fields from events in sytest (see matrix-org/sytest#1293), Dendrite builds failed. According to the v1.3 spec release, origin fields in PDUs are not required (matrix-org/matrix-spec#998).
Background information
go version
:Description
After removing
origin
fields from events in sytest (see matrix-org/sytest#1293), Dendrite builds failed. According to the v1.3 spec release,origin
fields in PDUs are not required (matrix-org/matrix-spec#998).Dendrite and gomatrixserverlib checks this field in several places and leads to failing tests in sytest (after removign the
origin
field; see the failed GHA runs on sytest's linked PR). For example,CheckFields
validation fromgometrixserverlib
will fail if this field is not present: https://github.com/matrix-org/gomatrixserverlib/blob/2217f6c65ce3ab829b5d103d70be4891e68dc518/event.go#L751-L780Dendrite is also doing some additional checks. For example, SendJoin is doing some additional checks here :
dendrite/federationapi/routing/join.go
Lines 207 to 212 in 3e87096
Steps to reproduce
origin
in any federation endpoint receiving an event (for example, SendJoin)The text was updated successfully, but these errors were encountered: