diff options
author | Kegsay <kegan@matrix.org> | 2020-03-30 16:40:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 16:40:28 +0100 |
commit | 8fbe9f40782bd56561c75ac74916900c11db3654 (patch) | |
tree | c5600864699e5935dfb0df1b884920e7f296906e /cmd/dendrite-monolith-server | |
parent | 11a8059bba9dbdc855f10e3b380c4a2f245635a2 (diff) |
Implement typing over federation (#949)
Also fix a pet peeve of mine: not putting units on things!!!
Manually tested on p2p and works well, with some fudge factor delay.
Diffstat (limited to 'cmd/dendrite-monolith-server')
-rw-r--r-- | cmd/dendrite-monolith-server/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/dendrite-monolith-server/main.go b/cmd/dendrite-monolith-server/main.go index 0aceef02..9f6531ed 100644 --- a/cmd/dendrite-monolith-server/main.go +++ b/cmd/dendrite-monolith-server/main.go @@ -20,6 +20,7 @@ import ( "github.com/matrix-org/dendrite/appservice" "github.com/matrix-org/dendrite/clientapi" + "github.com/matrix-org/dendrite/clientapi/producers" "github.com/matrix-org/dendrite/common" "github.com/matrix-org/dendrite/common/basecomponent" "github.com/matrix-org/dendrite/common/keydb" @@ -67,7 +68,8 @@ func main() { federation, &keyRing, alias, input, query, eduInputAPI, asQuery, transactions.New(), fedSenderAPI, ) - federationapi.SetupFederationAPIComponent(base, accountDB, deviceDB, federation, &keyRing, alias, input, query, asQuery, fedSenderAPI) + eduProducer := producers.NewEDUServerProducer(eduInputAPI) + federationapi.SetupFederationAPIComponent(base, accountDB, deviceDB, federation, &keyRing, alias, input, query, asQuery, fedSenderAPI, eduProducer) mediaapi.SetupMediaAPIComponent(base, deviceDB) publicroomsapi.SetupPublicRoomsAPIComponent(base, deviceDB, query, federation, nil) syncapi.SetupSyncAPIComponent(base, deviceDB, accountDB, query, federation, cfg) |