From d71b72816d30f35b1fde9f2ca4826ac82c61d2b8 Mon Sep 17 00:00:00 2001 From: Kegsay Date: Tue, 10 Mar 2020 18:10:10 +0000 Subject: [PATCH] p2p: use separate topics! (#886) Without it, setting a display name fails and /sync wedges forever. --- cmd/dendritejs/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go index a8791de6..214c887e 100644 --- a/cmd/dendritejs/main.go +++ b/cmd/dendritejs/main.go @@ -90,6 +90,10 @@ func main() { cfg.Database.RoomServer = "file:dendritejs_roomserver.db" cfg.Database.ServerKey = "file:dendritejs_serverkey.db" cfg.Database.SyncAPI = "file:dendritejs_syncapi.db" + cfg.Kafka.Topics.UserUpdates = "user_updates" + cfg.Kafka.Topics.OutputTypingEvent = "output_typing_event" + cfg.Kafka.Topics.OutputClientData = "output_client_data" + cfg.Kafka.Topics.OutputRoomEvent = "output_room_event" cfg.Matrix.TrustedIDServers = []string{ "matrix.org", "vector.im", }