mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
Remove duplicate comment
Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
parent
1812c53e39
commit
abc8d7ffc3
|
|
@ -178,11 +178,11 @@ func createRoom(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clobber keys: creator, room_version
|
// Clobber keys: creator, room_version
|
||||||
|
|
||||||
if r.CreationContent == nil {
|
if r.CreationContent == nil {
|
||||||
r.CreationContent = make(map[string]interface{}, 2)
|
r.CreationContent = make(map[string]interface{}, 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clobber keys: creator, room_version
|
|
||||||
r.CreationContent["creator"] = userID
|
r.CreationContent["creator"] = userID
|
||||||
r.CreationContent["room_version"] = "1" // TODO: We set this to 1 before we support Room versioning
|
r.CreationContent["room_version"] = "1" // TODO: We set this to 1 before we support Room versioning
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue