aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendritejs/main.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-07-23 16:41:36 +0100
committerGitHub <noreply@github.com>2020-07-23 16:41:36 +0100
commit98f2f09bb46f8bd126214f7874065d6b311bdeba (patch)
tree89108a41fe96e5d0a6dbd4f1d5e91c0b5263fc2e /cmd/dendritejs/main.go
parent7b862384a779f067f07ffeb2151856f89d372732 (diff)
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
Diffstat (limited to 'cmd/dendritejs/main.go')
-rw-r--r--cmd/dendritejs/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go
index 0bb2dbe9..70e5279c 100644
--- a/cmd/dendritejs/main.go
+++ b/cmd/dendritejs/main.go
@@ -233,7 +233,7 @@ func main() {
RoomserverAPI: rsAPI,
StateAPI: stateAPI,
UserAPI: userAPI,
- KeyAPI: keyserver.NewInternalAPI(base.Cfg, federation, userAPI),
+ KeyAPI: keyserver.NewInternalAPI(base.Cfg, federation, userAPI, base.KafkaProducer),
//ServerKeyAPI: serverKeyAPI,
ExtPublicRoomsProvider: p2pPublicRoomProvider,
}