aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/createroom.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-03-17 11:01:25 +0000
committerGitHub <noreply@github.com>2020-03-17 11:01:25 +0000
commitaebf347a79102597a359dcd59bb45593c8352780 (patch)
treed331c90109878611c0954276dc7a521415c43b9c /clientapi/routing/createroom.go
parent9f74a8798e26d9482f1964ff79a28acfe61d6dd1 (diff)
Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output (#914)
* Use Event.Headered * Use HeaderedEvent in roomserver kafka output * Fix syncserver-integration-tests * Update producers to roomserver inputs * Update gomatrixserverlib * Update gomatrixserverlib * Update gomatrixserverlib * Update gomatrixserverlib * Update gomatrixserverlib * Update gomatrixserverlib
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