aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-polylith-multi/personalities/federationapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-polylith-multi/personalities/federationapi.go')
-rw-r--r--cmd/dendrite-polylith-multi/personalities/federationapi.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/cmd/dendrite-polylith-multi/personalities/federationapi.go b/cmd/dendrite-polylith-multi/personalities/federationapi.go
index 5488fbf3..9b59cf45 100644
--- a/cmd/dendrite-polylith-multi/personalities/federationapi.go
+++ b/cmd/dendrite-polylith-multi/personalities/federationapi.go
@@ -16,16 +16,15 @@ package personalities
import (
"github.com/matrix-org/dendrite/federationapi"
- "github.com/matrix-org/dendrite/setup"
+ basepkg "github.com/matrix-org/dendrite/setup/base"
"github.com/matrix-org/dendrite/setup/config"
)
-func FederationAPI(base *setup.BaseDendrite, cfg *config.Dendrite) {
+func FederationAPI(base *basepkg.BaseDendrite, cfg *config.Dendrite) {
userAPI := base.UserAPIClient()
federation := base.CreateFederationClient()
- serverKeyAPI := base.SigningKeyServerHTTPClient()
- keyRing := serverKeyAPI.KeyRing()
- fsAPI := base.FederationSenderHTTPClient()
+ fsAPI := base.FederationAPIHTTPClient()
+ keyRing := fsAPI.KeyRing()
rsAPI := base.RoomserverHTTPClient()
keyAPI := base.KeyServerHTTPClient()