Skip to content

Commit

Permalink
Clarify that an m.room.name event with an absent name field is no…
Browse files Browse the repository at this point in the history
…t expected behavior

Fixes #1632

Signed-off-by: Kévin Commaille <[email protected]>
  • Loading branch information
zecakeh committed Sep 18, 2023
1 parent 838dec2 commit fa742be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions data/event-schemas/schema/m.room.name.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fa742be

Please sign in to comment.