aboutsummaryrefslogtreecommitdiff
path: root/roomserver/version/version.go
diff options
context:
space:
mode:
authorSam Wedgwood <28223854+swedgwood@users.noreply.github.com>2023-08-08 14:20:05 +0100
committerGitHub <noreply@github.com>2023-08-08 14:20:05 +0100
commit35804f8493a7a51542b27ff98bc60814685d5020 (patch)
tree0138df2ced6da0f8d03a51d38ace5a3651f68cd2 /roomserver/version/version.go
parent294eff8a7f42f11b3559ca941468c766358fcae1 (diff)
Add config key for default room version (#3171)
This PR adds a config key `room_server.default_config_key` to set the default room version for the room server. Signed-off-by: `Sam Wedgwood <sam@wedgwood.dev>`
Diffstat (limited to 'roomserver/version/version.go')
-rw-r--r--roomserver/version/version.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/roomserver/version/version.go b/roomserver/version/version.go
index 270d4289..e8bd890a 100644
--- a/roomserver/version/version.go
+++ b/roomserver/version/version.go
@@ -20,12 +20,6 @@ import (
"github.com/matrix-org/gomatrixserverlib"
)
-// DefaultRoomVersion contains the room version that will, by
-// default, be used to create new rooms on this server.
-func DefaultRoomVersion() gomatrixserverlib.RoomVersion {
- return gomatrixserverlib.RoomVersionV10
-}
-
// RoomVersions returns a map of all known room versions to this
// server.
func RoomVersions() map[gomatrixserverlib.RoomVersion]gomatrixserverlib.IRoomVersion {