Set default room version back to v2

This commit is contained in:
Neil Alexander 2020-04-09 14:41:11 +01:00
parent e7215c954a
commit e75bbc4b54

View file

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