mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-08 15:33:09 -06:00
Return a 200 OK response
This commit is contained in:
parent
9858f4403d
commit
f4d8dde480
|
|
@ -194,6 +194,14 @@ func (r joinRoomReq) joinRoomUsingServers(
|
|||
// TODO: validate the state response.
|
||||
// TODO: check that the join event passes auth against the state response.
|
||||
// TODO: send the state and the join event to the room server.
|
||||
|
||||
return util.JSONResponse{
|
||||
Code: 200,
|
||||
// TODO: Put the response struct somewhere common.
|
||||
JSON: struct {
|
||||
RoomID string `json:"room_id"`
|
||||
}{roomID},
|
||||
}
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue