s/hostname/serverName/

This commit is contained in:
Kegan Dougal 2017-03-08 16:40:08 +00:00
parent e7494beb34
commit 5e19d9d340

View file

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