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, 3 insertions, 1 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index 5b6e21c8..f3f3e08c 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -23,6 +23,7 @@ import (
"github.com/matrix-org/dendrite/clientapi/routing"
"github.com/matrix-org/dendrite/common/basecomponent"
"github.com/matrix-org/dendrite/common/transactions"
+ federationSenderAPI "github.com/matrix-org/dendrite/federationsender/api"
roomserverAPI "github.com/matrix-org/dendrite/roomserver/api"
typingServerAPI "github.com/matrix-org/dendrite/typingserver/api"
"github.com/matrix-org/gomatrixserverlib"
@@ -43,6 +44,7 @@ func SetupClientAPIComponent(
typingInputAPI typingServerAPI.TypingServerInputAPI,
asAPI appserviceAPI.AppServiceQueryAPI,
transactionsCache *transactions.Cache,
+ fedSenderAPI federationSenderAPI.FederationSenderQueryAPI,
) {
roomserverProducer := producers.NewRoomserverProducer(inputAPI)
typingProducer := producers.NewTypingServerProducer(typingInputAPI)
@@ -67,6 +69,6 @@ func SetupClientAPIComponent(
routing.Setup(
base.APIMux, *base.Cfg, roomserverProducer, queryAPI, aliasAPI, asAPI,
accountsDB, deviceDB, federation, *keyRing, userUpdateProducer,
- syncProducer, typingProducer, transactionsCache,
+ syncProducer, typingProducer, transactionsCache, fedSenderAPI,
)
}