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

@ -48,9 +48,9 @@ func NewInternalAPI(
Cache: eduCache,
UserAPI: userAPI,
Producer: producer,
OutputTypingEventTopic: cfg.Matrix.JetStream.TopicFor(jetstream.OutputTypingEvent),
OutputSendToDeviceEventTopic: cfg.Matrix.JetStream.TopicFor(jetstream.OutputSendToDeviceEvent),
OutputReceiptEventTopic: cfg.Matrix.JetStream.TopicFor(jetstream.OutputReceiptEvent),
OutputTypingEventTopic: jetstream.OutputTypingEvent,
OutputSendToDeviceEventTopic: jetstream.OutputSendToDeviceEvent,
OutputReceiptEventTopic: jetstream.OutputReceiptEvent,
ServerName: cfg.Matrix.ServerName,
}
}