mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-07-31 10:07:48 +02:00
Add links to m.room.name description
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
160339e580
commit
53d324c15b
|
|
@ -4,16 +4,19 @@ $schema: https://json-schema.org/draft/2020-12/schema
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: core-event-schema/state_event.yaml
|
- $ref: core-event-schema/state_event.yaml
|
||||||
description: |-
|
description: |-
|
||||||
A room has an opaque room ID which is not human-friendly to read. A room
|
A room has an opaque [room ID](/appendices#room-ids) which is not
|
||||||
alias is human-friendly, but not all rooms have room aliases. The room name
|
human-friendly to read. A [room alias](appendices#room-aliases) is
|
||||||
is a human-friendly string designed to be displayed to the end-user. The
|
human-friendly, but not all rooms have [room aliases](/client-server-api/#room-aliases).
|
||||||
room name is not unique, as multiple rooms can have the same room name set.
|
The room name 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.
|
||||||
|
|
||||||
If a room has an `m.room.name` event with an absent, null, or empty `name`
|
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.
|
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
|
An event of this type is automatically created when creating a room using
|
||||||
`/createRoom` with the `name` key.
|
[`/createRoom`](/client-server-api/#post_matrixclientv3createroom) with the
|
||||||
|
`name` key.
|
||||||
properties:
|
properties:
|
||||||
content:
|
content:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue