File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export namespace Plan {
2929 private ?: boolean ;
3030 readOnly ?: boolean ;
3131 redirect ?: string ;
32+ roomVersion ?: string ;
3233 suggested ?: boolean ;
3334 tag ?: string ;
3435 topic ?: string ;
Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ export default class extends Module {
578578 const created = await this . matrix . createRoom (
579579 mergeWithMatrixState < RoomCreateOptions , Partial < RoomCreateOptions > > (
580580 {
581- room_version : this . plan . defaultRoomVersion ,
581+ room_version : expected . roomVersion ?? this . plan . defaultRoomVersion ,
582582 room_alias_name : expected . local ,
583583 name : expected . name ,
584584 power_level_content_override : this . getPowerLevels ( inheritedUsers , expected ) ,
You can’t perform that action at this time.
0 commit comments