From 5e19d9d3404d734bd873e4dc62e05caebf83d83b Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 8 Mar 2017 16:40:08 +0000 Subject: [PATCH] s/hostname/serverName/ --- .../matrix-org/dendrite/clientapi/writers/createroom.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go b/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go index a1da831b3..66a57acbe 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go +++ b/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go @@ -84,8 +84,8 @@ func CreateRoom(req *http.Request) util.JSONResponse { // TODO: visibility/presets/raw initial state/creation content - hostname := "localhost" - roomID := fmt.Sprintf("!%s:%s", util.RandomString(16), hostname) + serverName := "localhost" + roomID := fmt.Sprintf("!%s:%s", util.RandomString(16), serverName) // TODO: Check room ID doesn't clash with an existing one // TODO: Create room alias association