Response to createRoom is now the room's ID (#149)
parent
b2f9b8c641
commit
b13cbb18fb
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue