aboutsummaryrefslogtreecommitdiff
path: root/federationapi/federationapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationapi/federationapi.go')
-rw-r--r--federationapi/federationapi.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/federationapi/federationapi.go b/federationapi/federationapi.go
index 9193685a..944e2797 100644
--- a/federationapi/federationapi.go
+++ b/federationapi/federationapi.go
@@ -16,7 +16,6 @@ package federationapi
import (
"github.com/gorilla/mux"
- currentstateAPI "github.com/matrix-org/dendrite/currentstateserver/api"
eduserverAPI "github.com/matrix-org/dendrite/eduserver/api"
federationSenderAPI "github.com/matrix-org/dendrite/federationsender/api"
"github.com/matrix-org/dendrite/internal/config"
@@ -38,12 +37,11 @@ func AddPublicRoutes(
rsAPI roomserverAPI.RoomserverInternalAPI,
federationSenderAPI federationSenderAPI.FederationSenderInternalAPI,
eduAPI eduserverAPI.EDUServerInputAPI,
- stateAPI currentstateAPI.CurrentStateInternalAPI,
keyAPI keyserverAPI.KeyInternalAPI,
) {
routing.Setup(
fedRouter, keyRouter, cfg, rsAPI,
eduAPI, federationSenderAPI, keyRing,
- federation, userAPI, stateAPI, keyAPI,
+ federation, userAPI, keyAPI,
)
}