diff --git a/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go b/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go index e05c1742..fccc42b7 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go +++ b/src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go @@ -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, } }