From cd0bb63fbd314a71399c51296808f45ec3344fa1 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 24 Apr 2020 11:04:44 +0100 Subject: [PATCH] Use RespInviteV2 --- federationapi/routing/invite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, } }