aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-07-30 11:15:46 +0100
committerGitHub <noreply@github.com>2020-07-30 11:15:46 +0100
commit9355fb5ac8c911bdbde6dcc0f279f716d8a8f60b (patch)
treec6a155f7b65e25c8ab4abaf7413fbb0531a02b12 /internal
parent0fdd4f14d123e76bd3d0368947d3aab84a787946 (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 'internal')
-rw-r--r--internal/setup/monolith.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/setup/monolith.go b/internal/setup/monolith.go
index 1f6d9a76..f33f97ee 100644
--- a/internal/setup/monolith.go
+++ b/internal/setup/monolith.go
@@ -77,6 +77,7 @@ func (m *Monolith) AddAllPublicRoutes(publicMux *mux.Router) {
)
mediaapi.AddPublicRoutes(publicMux, m.Config, m.UserAPI, m.Client)
syncapi.AddPublicRoutes(
- publicMux, m.KafkaConsumer, m.UserAPI, m.RoomserverAPI, m.FedClient, m.Config,
+ publicMux, m.KafkaConsumer, m.UserAPI, m.RoomserverAPI,
+ m.KeyAPI, m.StateAPI, m.FedClient, m.Config,
)
}