From abc8d7ffc3e1d3df50ec08253e8feaef5c05cda3 Mon Sep 17 00:00:00 2001 From: Cnly Date: Mon, 22 Jul 2019 22:18:23 +0800 Subject: [PATCH] Remove duplicate comment Signed-off-by: Alex Chen --- clientapi/routing/createroom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/createroom.go b/clientapi/routing/createroom.go index aa1fdde32..8c5ee975c 100644 --- a/clientapi/routing/createroom.go +++ b/clientapi/routing/createroom.go @@ -178,11 +178,11 @@ func createRoom( } // Clobber keys: creator, room_version + if r.CreationContent == nil { r.CreationContent = make(map[string]interface{}, 2) } - // Clobber keys: creator, room_version r.CreationContent["creator"] = userID r.CreationContent["room_version"] = "1" // TODO: We set this to 1 before we support Room versioning