Allow v12 rooms to be created

This commit is contained in:
Tulir Asokan
2025-07-17 00:35:47 +03:00
parent 3f7622be19
commit d2988096e4
3 changed files with 1 additions and 5 deletions

View File

@@ -489,7 +489,6 @@ func (portal *Portal) CreateMatrixRoom(user *User, channel *discordgo.Channel) e
IsDirect: portal.IsPrivateChat(),
InitialState: initialState,
CreationContent: creationContent,
RoomVersion: "11",
}
if !portal.shouldSetDMRoomMetadata() && !portal.FriendNick {
req.Name = ""