mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -06:00
Add GetDefaultRoomVersion
This commit is contained in:
parent
b95a719178
commit
cf2071c010
|
|
@ -83,6 +83,10 @@ var roomVersions = map[RoomVersionID]RoomVersionDescription{
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetDefaultRoomVersion() RoomVersionID {
|
||||||
|
return RoomVersionV1
|
||||||
|
}
|
||||||
|
|
||||||
func GetRoomVersions() map[RoomVersionID]RoomVersionDescription {
|
func GetRoomVersions() map[RoomVersionID]RoomVersionDescription {
|
||||||
return roomVersions
|
return roomVersions
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue