Skip to content

Commit 2f5ad16

Browse files
committed
Mention that a canonical alias event should be created if alias specified
1 parent a03ea34 commit 2f5ad16

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

data/api/client-server/create_room.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,19 @@ paths:
4848
(and not other members) permission to send state events. Overridden
4949
by the `power_level_content_override` parameter.
5050
51-
4. Events set by the `preset`. Currently these are the `m.room.join_rules`,
51+
4. An `m.room.canonical_alias` event if `room_alias_name` is given and
52+
no `m.room.canonical_alias` event is given in `initial_state`.
53+
54+
5. Events set by the `preset`. Currently these are the `m.room.join_rules`,
5255
`m.room.history_visibility`, and `m.room.guest_access` state events.
5356
54-
5. Events listed in `initial_state`, in the order that they are
57+
6. Events listed in `initial_state`, in the order that they are
5558
listed.
5659
57-
6. Events implied by `name` and `topic` (`m.room.name` and `m.room.topic`
60+
7. Events implied by `name` and `topic` (`m.room.name` and `m.room.topic`
5861
state events).
5962
60-
7. Invite events implied by `invite` and `invite_3pid` (`m.room.member` with
63+
8. Invite events implied by `invite` and `invite_3pid` (`m.room.member` with
6164
`membership: invite` and `m.room.third_party_invite`).
6265
6366
The available presets do the following with respect to room state:
@@ -112,7 +115,8 @@ paths:
112115
would be `#foo:example.com`.
113116
114117
The complete room alias will become the canonical alias for
115-
the room.
118+
the room and an `m.room.canonical_alias` event will be sent
119+
into the room.
116120
name:
117121
type: string
118122
description: |-

0 commit comments

Comments
 (0)