mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-08 15:33:09 -06:00
s/hostname/serverName/
This commit is contained in:
parent
e7494beb34
commit
5e19d9d340
|
|
@ -84,8 +84,8 @@ func CreateRoom(req *http.Request) util.JSONResponse {
|
||||||
|
|
||||||
// TODO: visibility/presets/raw initial state/creation content
|
// TODO: visibility/presets/raw initial state/creation content
|
||||||
|
|
||||||
hostname := "localhost"
|
serverName := "localhost"
|
||||||
roomID := fmt.Sprintf("!%s:%s", util.RandomString(16), hostname)
|
roomID := fmt.Sprintf("!%s:%s", util.RandomString(16), serverName)
|
||||||
// TODO: Check room ID doesn't clash with an existing one
|
// TODO: Check room ID doesn't clash with an existing one
|
||||||
// TODO: Create room alias association
|
// TODO: Create room alias association
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue