aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/clientapi.go')
-rw-r--r--clientapi/clientapi.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index 1339f7c8..6a857e52 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -44,7 +44,7 @@ func SetupClientAPIComponent(
eduInputAPI eduServerAPI.EDUServerInputAPI,
asAPI appserviceAPI.AppServiceQueryAPI,
transactionsCache *transactions.Cache,
- fedSenderAPI federationSenderAPI.FederationSenderQueryAPI,
+ fsAPI federationSenderAPI.FederationSenderInternalAPI,
) {
roomserverProducer := producers.NewRoomserverProducer(inputAPI, queryAPI)
eduProducer := producers.NewEDUServerProducer(eduInputAPI)
@@ -69,6 +69,6 @@ func SetupClientAPIComponent(
routing.Setup(
base.APIMux, base.Cfg, roomserverProducer, queryAPI, aliasAPI, asAPI,
accountsDB, deviceDB, federation, *keyRing, userUpdateProducer,
- syncProducer, eduProducer, transactionsCache, fedSenderAPI,
+ syncProducer, eduProducer, transactionsCache, fsAPI,
)
}