diff --git a/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go b/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go index 7a697728a..8d9317ab6 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go +++ b/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go @@ -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 {