Skip to content

Commit 8487c64

Browse files
committed
Hardcode v11 for new rooms
Upcoming breaking changes in room v12 prevent safely using the default room version and security embargoes prevent fixing them ahead of time.
1 parent c353464 commit 8487c64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

portal.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,7 @@ func (portal *Portal) getRoomCreateContent() *mautrix.ReqCreateRoom {
784784
IsDirect: portal.IsPrivateChat(),
785785
InitialState: initialState,
786786
CreationContent: creationContent,
787+
RoomVersion: "11",
787788

788789
BeeperAutoJoinInvites: autoJoinInvites,
789790
}

user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ func (user *User) GetSpaceRoom() id.RoomID {
231231
user.MXID: 100,
232232
},
233233
},
234+
RoomVersion: "11",
234235
})
235236

236237
if err != nil {

0 commit comments

Comments
 (0)