Skip to content

Commit e70045f

Browse files
authored
room_type is not a required parameter in practice (#1110)
* room_type is not a required parameter in practice In practice servers seem to mirror what the room create event does and leave out the room_type when unset. Signed-off-by: Nicolas Werner <n.werner@famedly.com> * Add changelog Signed-off-by: Nicolas Werner <n.werner@famedly.com> * Also make room_type and allowed_room_ids optional in the openapi They are optional according to the text, but the openapi marks them as required instead. Signed-off-by: Nicolas Werner <n.werner@famedly.com> * Fix copy and paste error of newsfragment Signed-off-by: Nicolas Werner <n.werner@famedly.com>
1 parent 8d82366 commit e70045f

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix various typos throughout the specification.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix various typos throughout the specification.

data/api/client-server/space_hierarchy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ paths:
149149
format: int64
150150
description: The `origin_server_ts` for the event.
151151
required: [origin_server_ts]
152-
required: [room_type, children_state]
152+
required: [children_state]
153153
next_batch:
154154
type: string
155155
description: |-

data/api/server-server/space_hierarchy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ paths:
158158
format: int64
159159
description: The `origin_server_ts` for the event.
160160
required: [origin_server_ts]
161-
required: [room_type, allowed_room_ids, children_state]
161+
required: [children_state]
162162
children:
163163
type: array
164164
description: |-

0 commit comments

Comments
 (0)