aboutsummaryrefslogtreecommitdiff
path: root/federationapi/routing/eventauth.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi/routing/eventauth.go')
-rw-r--r--federationapi/routing/eventauth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/federationapi/routing/eventauth.go b/federationapi/routing/eventauth.go
index 2f1f3baf..65a2a9bc 100644
--- a/federationapi/routing/eventauth.go
+++ b/federationapi/routing/eventauth.go
@@ -19,6 +19,7 @@ import (
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/gomatrixserverlib"
+ "github.com/matrix-org/gomatrixserverlib/fclient"
"github.com/matrix-org/util"
)
@@ -70,7 +71,7 @@ func GetEventAuth(
return util.JSONResponse{
Code: http.StatusOK,
- JSON: gomatrixserverlib.RespEventAuth{
+ JSON: fclient.RespEventAuth{
AuthEvents: gomatrixserverlib.NewEventJSONsFromHeaderedEvents(response.AuthChainEvents),
},
}