Enable v5 rooms (#992)

* Enable v5 roooms

* Update sytest-whitelist

* Enable v5 rooms by default, update gomatrixserverlib
This commit is contained in:
Neil Alexander 2020-04-29 19:37:00 +01:00 committed by GitHub
parent 4ad52c67ca
commit 77fe509031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View file

@ -51,15 +51,15 @@ var roomVersions = map[gomatrixserverlib.RoomVersion]RoomVersionDescription{
Stable: true,
},
gomatrixserverlib.RoomVersionV5: RoomVersionDescription{
Supported: false,
Stable: false,
Supported: true,
Stable: true,
},
}
// DefaultRoomVersion contains the room version that will, by
// default, be used to create new rooms on this server.
func DefaultRoomVersion() gomatrixserverlib.RoomVersion {
return gomatrixserverlib.RoomVersionV4
return gomatrixserverlib.RoomVersionV5
}
// RoomVersions returns a map of all known room versions to this