Response to createRoom is now the room's ID
MODIFY
src/github.com/matrix-org/dendrite/clientapi/writers/createroom.go
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,
}
}

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