Clarify that an m.room.name event with an absent name field is not expected behavior

Fixes #1632

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2023-09-18 14:35:10 +02:00
parent 838dec272c
commit fa742be5b8
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -7,9 +7,8 @@ description: |-
is a human-friendly string designed to be displayed to the end-user. The
room name is not unique, as multiple rooms can have the same room name set.
A room with an `m.room.name` event with an absent, null, or empty
`name` field should be treated the same as a room with no `m.room.name`
event.
If a room has an `m.room.name` event with an absent, null, or empty `name`
field, it should be treated the same as a room with no `m.room.name` event.
An event of this type is automatically created when creating a room using
`/createRoom` with the `name` key.