From 98f2f09bb46f8bd126214f7874065d6b311bdeba Mon Sep 17 00:00:00 2001 From: Kegsay Date: Thu, 23 Jul 2020 16:41:36 +0100 Subject: keyserver: produce key change events (#1218) * Produce kafka events when keys are added * Consume key changes in syncapi with TODO markers for handling them and catching up * unbreak tests * Linting --- build/gobind/monolith.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/gobind/monolith.go b/build/gobind/monolith.go index 7da53084..8e976632 100644 --- a/build/gobind/monolith.go +++ b/build/gobind/monolith.go @@ -155,7 +155,7 @@ func (m *DendriteMonolith) Start() { RoomserverAPI: rsAPI, UserAPI: userAPI, StateAPI: stateAPI, - KeyAPI: keyserver.NewInternalAPI(base.Cfg, federation, userAPI), + KeyAPI: keyserver.NewInternalAPI(base.Cfg, federation, userAPI, base.KafkaProducer), ExtPublicRoomsProvider: yggrooms.NewYggdrasilRoomProvider( ygg, fsAPI, federation, ), -- cgit v1.2.3