diff options
author | Kegsay <kegan@matrix.org> | 2020-04-28 16:51:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 16:51:16 +0100 |
commit | a4b9edb28e32b505cf3a67bcba1acacd4a882155 (patch) | |
tree | 45210f5d40764f08c0b8c485b99826d3b27dfcf9 /cmd/dendrite-monolith-server | |
parent | 0354836b57aa0f1e39c43961669ab1afcb757460 (diff) |
Dependency inject the federation client so p2p binaries work as expected (#987)
Diffstat (limited to 'cmd/dendrite-monolith-server')
-rw-r--r-- | cmd/dendrite-monolith-server/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-monolith-server/main.go b/cmd/dendrite-monolith-server/main.go index 8cfb7566..f3e720a8 100644 --- a/cmd/dendrite-monolith-server/main.go +++ b/cmd/dendrite-monolith-server/main.go @@ -57,7 +57,7 @@ func main() { federation := base.CreateFederationClient() keyRing := keydb.CreateKeyRing(federation.Client, keyDB, cfg.Matrix.KeyPerspectives) - alias, input, query := roomserver.SetupRoomServerComponent(base, keyRing) + alias, input, query := roomserver.SetupRoomServerComponent(base, keyRing, federation) eduInputAPI := eduserver.SetupEDUServerComponent(base, cache.New()) asQuery := appservice.SetupAppServiceAPIComponent( base, accountDB, deviceDB, federation, alias, query, transactions.New(), |