diff --git a/federationapi/routing/invite.go b/federationapi/routing/invite.go index 332f7f70c..9fce46a09 100644 --- a/federationapi/routing/invite.go +++ b/federationapi/routing/invite.go @@ -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}, } }