mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-13 23:02:46 +00:00
Response to createRoom is now the room's ID (#149)
This commit is contained in:
parent
b2f9b8c641
commit
b13cbb18fb
1 changed files with 5 additions and 1 deletions
|
@ -192,9 +192,13 @@ func createRoom(req *http.Request, device *authtypes.Device, cfg config.Dendrite
|
|||
return httputil.LogThenError(req, err)
|
||||
}
|
||||
|
||||
response := createRoomResponse{
|
||||
RoomID: roomID,
|
||||
}
|
||||
|
||||
return util.JSONResponse{
|
||||
Code: 200,
|
||||
JSON: builtEvents,
|
||||
JSON: response,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue