1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-03-29 21:14:28 -05:00

Response to createRoom is now the room's ID ()

This commit is contained in:
Brendan Abolivier 2017-07-06 11:44:15 +01:00 committed by Mark Haines
parent b2f9b8c641
commit b13cbb18fb

View file

@ -192,9 +192,13 @@ func createRoom(req *http.Request, device *authtypes.Device, cfg config.Dendrite
return httputil.LogThenError(req, err) return httputil.LogThenError(req, err)
} }
response := createRoomResponse{
RoomID: roomID,
}
return util.JSONResponse{ return util.JSONResponse{
Code: 200, Code: 200,
JSON: builtEvents, JSON: response,
} }
} }