aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/createroom.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/routing/createroom.go')
-rw-r--r--clientapi/routing/createroom.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/clientapi/routing/createroom.go b/clientapi/routing/createroom.go
index c9623acb..3465d985 100644
--- a/clientapi/routing/createroom.go
+++ b/clientapi/routing/createroom.go
@@ -180,7 +180,8 @@ func createRoom(
}
r.CreationContent["creator"] = userID
- r.CreationContent["room_version"] = "1" // TODO: We set this to 1 before we support Room versioning
+ // TODO: Room version here
+ r.CreationContent["room_version"] = gomatrixserverlib.RoomVersionV1
// TODO: visibility/presets/raw initial state
// TODO: Create room alias association