Return a 200 OK response

This commit is contained in:
Mark Haines 2017-05-22 19:58:33 +01:00
parent 9858f4403d
commit f4d8dde480

View file

@ -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 {