Use RespInviteV2

This commit is contained in:
Neil Alexander 2020-04-24 11:04:44 +01:00
parent ff940c2b08
commit cd0bb63fbd

View file

@ -101,6 +101,6 @@ func Invite(
// the other servers in the room that we have been invited.
return util.JSONResponse{
Code: http.StatusOK,
JSON: gomatrixserverlib.RespInvite{Event: signedEvent},
JSON: gomatrixserverlib.RespInviteV2{Event: signedEvent},
}
}