mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03: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
|
||||
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue