mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 13:52:46 +00:00
Remove unneeded TopicFor
This commit is contained in:
parent
a833f5764a
commit
f5a4e4a339
15 changed files with 22 additions and 22 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue