mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Dependency inject the federation client so p2p binaries work as expected (#987)
This commit is contained in:
parent
0354836b57
commit
a4b9edb28e
5 changed files with 6 additions and 5 deletions
|
@ -148,7 +148,7 @@ func main() {
|
|||
federation := createFederationClient(base)
|
||||
keyRing := keydb.CreateKeyRing(federation.Client, keyDB, cfg.Matrix.KeyPerspectives)
|
||||
|
||||
alias, input, query := roomserver.SetupRoomServerComponent(&base.Base, keyRing)
|
||||
alias, input, query := roomserver.SetupRoomServerComponent(&base.Base, keyRing, federation)
|
||||
eduInputAPI := eduserver.SetupEDUServerComponent(&base.Base, cache.New())
|
||||
asQuery := appservice.SetupAppServiceAPIComponent(
|
||||
&base.Base, accountDB, deviceDB, federation, alias, query, transactions.New(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue