-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
m.room.name
's name
field is marked as required but is described as possibly absent
#1632
Comments
I'm not sure it says exactly that? As with all Matrix events, implementations have to behave sensibly when they receive a malformed event. The text I think you are referring to provides some guidance on what implementations should do if they receive an |
Ah indeed, I did not understand it like that. |
Certainly the wording could be clearer. |
…t expected behavior Fixes matrix-org#1632 Signed-off-by: Kévin Commaille <[email protected]>
…t expected behavior (#1639) Fixes #1632 Signed-off-by: Kévin Commaille <[email protected]>
Link to problem area: https://spec.matrix.org/v1.8/client-server-api/#mroomname
Issue
The schema of the event says that the
name
field is required. The description of the event says that the same field can be "absent, null, or empty".Expected behaviour
It should either be required or not.
For context, Synapse doesn't accept that a client sends this event if the field is not a string.
The text was updated successfully, but these errors were encountered: