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 Apr 26, 2024. It is now read-only.
@turt2live I see, but why aren't the fields marked as optional? If they might not be present because of a redaction, then I don't think they should be marked as Required
That's where the spec is a bit unclear: I believe the theory is that the fields are required to send, but not receive. A redaction affects the event in ways after it has been sent, so it naturally can force the event to lose otherwise required fields.
In practice, implementations should be resilient to malformed event contents.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When doing my initial
/sync
from the https://matrix.org homeserver, I got back the following event:The spec states that any event with the type
m.room.message
must always have thebody
andmsgtype
fields.The text was updated successfully, but these errors were encountered: