diff options
author | Kegsay <kegan@matrix.org> | 2020-07-30 11:15:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 11:15:46 +0100 |
commit | 9355fb5ac8c911bdbde6dcc0f279f716d8a8f60b (patch) | |
tree | c6a155f7b65e25c8ab4abaf7413fbb0531a02b12 /cmd | |
parent | 0fdd4f14d123e76bd3d0368947d3aab84a787946 (diff) |
Hook up device list updates to the sync notifier (#1231)
* WIP hooking up key changes
* Fix import cycle, get tests passing and binary compiling
* Linting and update whitelist
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dendrite-sync-api-server/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/dendrite-sync-api-server/main.go b/cmd/dendrite-sync-api-server/main.go index d67395fb..0761a1d1 100644 --- a/cmd/dendrite-sync-api-server/main.go +++ b/cmd/dendrite-sync-api-server/main.go @@ -29,7 +29,9 @@ func main() { rsAPI := base.RoomserverHTTPClient() - syncapi.AddPublicRoutes(base.PublicAPIMux, base.KafkaConsumer, userAPI, rsAPI, federation, cfg) + syncapi.AddPublicRoutes( + base.PublicAPIMux, base.KafkaConsumer, userAPI, rsAPI, base.KeyServerHTTPClient(), base.CurrentStateAPIClient(), + federation, cfg) base.SetupAndServeHTTP(string(base.Cfg.Bind.SyncAPI), string(base.Cfg.Listen.SyncAPI)) |