From 9355fb5ac8c911bdbde6dcc0f279f716d8a8f60b Mon Sep 17 00:00:00 2001 From: Kegsay Date: Thu, 30 Jul 2020 11:15:46 +0100 Subject: 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 --- internal/setup/monolith.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal') 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, ) } -- cgit v1.2.3