p2p: use separate topics! (#886)

Without it, setting a display name fails and /sync wedges forever.
This commit is contained in:
Kegsay 2020-03-10 18:10:10 +00:00 committed by GitHub
parent 09dfd4839a
commit d71b72816d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,10 @@ func main() {
cfg.Database.RoomServer = "file:dendritejs_roomserver.db" cfg.Database.RoomServer = "file:dendritejs_roomserver.db"
cfg.Database.ServerKey = "file:dendritejs_serverkey.db" cfg.Database.ServerKey = "file:dendritejs_serverkey.db"
cfg.Database.SyncAPI = "file:dendritejs_syncapi.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{ cfg.Matrix.TrustedIDServers = []string{
"matrix.org", "vector.im", "matrix.org", "vector.im",
} }