Remove unneeded TopicFor

This commit is contained in:
Till Faelligen 2021-07-24 12:17:42 +02:00
parent a833f5764a
commit f5a4e4a339
15 changed files with 22 additions and 22 deletions

View file

@ -45,7 +45,7 @@ func NewInternalAPI(
logrus.WithError(err).Panicf("failed to connect to key server database")
}
keyChangeProducer := &producers.KeyChange{
Topic: string(cfg.Matrix.JetStream.TopicFor(jetstream.OutputKeyChangeEvent)),
Topic: jetstream.OutputKeyChangeEvent,
Producer: producer,
DB: db,
}