Remove duplicate comment

Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
Cnly 2019-07-22 22:18:23 +08:00
parent 1812c53e39
commit abc8d7ffc3

View file

@ -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