aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/gobind/monolith.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/gobind/monolith.go b/build/gobind/monolith.go
index e2ff79c3..84103f38 100644
--- a/build/gobind/monolith.go
+++ b/build/gobind/monolith.go
@@ -131,17 +131,15 @@ func (m *DendriteMonolith) Start() {
)
asAPI := appservice.NewInternalAPI(base, userAPI, rsAPI)
-
+ stateAPI := currentstateserver.NewInternalAPI(base.Cfg, base.KafkaConsumer)
fsAPI := federationsender.NewInternalAPI(
- base, federation, rsAPI, keyRing,
+ base, federation, rsAPI, stateAPI, keyRing,
)
// The underlying roomserver implementation needs to be able to call the fedsender.
// This is different to rsAPI which can be the http client which doesn't need this dependency
rsAPI.SetFederationSenderAPI(fsAPI)
- stateAPI := currentstateserver.NewInternalAPI(base.Cfg, base.KafkaConsumer)
-
monolith := setup.Monolith{
Config: base.Cfg,
AccountDB: accountDB,