Enable room version 4

This commit is contained in:
Nyaaori 2021-11-01 02:22:32 +00:00 committed by Timo Kösters
parent 714873694d
commit d8a3b257f2
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
4 changed files with 6 additions and 9 deletions

View file

@ -151,7 +151,7 @@ impl Globals {
// Supported and stable room versions
let stable_room_versions = vec![RoomVersionId::V6];
// Experimental, partially supported room versions
let unstable_room_versions = vec![RoomVersionId::V5];
let unstable_room_versions = vec![RoomVersionId::V4, RoomVersionId::V5];
let s = Self {
globals,

View file

@ -1845,7 +1845,6 @@ impl Rooms {
})
.transpose()?;
// If there was no create event yet, assume we are creating a room with the default
// version right now
let room_version_id = create_event_content