mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
Try enabling room version v2 and enabling as default
This commit is contained in:
parent
229257a052
commit
370d3fc864
|
|
@ -54,7 +54,7 @@ var roomVersions = map[RoomVersionID]RoomVersionDescription{
|
||||||
EnforceSigningKeyValidity: false,
|
EnforceSigningKeyValidity: false,
|
||||||
},
|
},
|
||||||
RoomVersionV2: RoomVersionDescription{
|
RoomVersionV2: RoomVersionDescription{
|
||||||
Supported: false,
|
Supported: true,
|
||||||
Stable: true,
|
Stable: true,
|
||||||
StateResolution: state.StateResolutionAlgorithmV2,
|
StateResolution: state.StateResolutionAlgorithmV2,
|
||||||
EventFormat: EventFormatV1,
|
EventFormat: EventFormatV1,
|
||||||
|
|
@ -84,7 +84,7 @@ var roomVersions = map[RoomVersionID]RoomVersionDescription{
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetDefaultRoomVersion() RoomVersionID {
|
func GetDefaultRoomVersion() RoomVersionID {
|
||||||
return RoomVersionV1
|
return RoomVersionV2
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetRoomVersions() map[RoomVersionID]RoomVersionDescription {
|
func GetRoomVersions() map[RoomVersionID]RoomVersionDescription {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue