aboutsummaryrefslogtreecommitdiff
path: root/roomserver/roomserver.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-08-10 15:18:37 +0100
committerGitHub <noreply@github.com>2020-08-10 15:18:37 +0100
commit52eeeb16279497e24ed6b1e34a7a16fc69b587d1 (patch)
treecfcf9c482afe230ae251bd1d472cb59d9cc9e906 /roomserver/roomserver.go
parent4b09f445c992fd0a389efc34d75aaa7e5bd50e9c (diff)
Prefix-defined Kafka topics (#1254)
* Prefix-defined Kafka topics * Fix current state server test
Diffstat (limited to 'roomserver/roomserver.go')
-rw-r--r--roomserver/roomserver.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/roomserver/roomserver.go b/roomserver/roomserver.go
index 1c226085..1f331a8f 100644
--- a/roomserver/roomserver.go
+++ b/roomserver/roomserver.go
@@ -20,6 +20,7 @@ import (
"github.com/matrix-org/dendrite/roomserver/inthttp"
"github.com/matrix-org/gomatrixserverlib"
+ "github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/internal/setup"
"github.com/matrix-org/dendrite/roomserver/internal"
"github.com/matrix-org/dendrite/roomserver/storage"
@@ -50,7 +51,7 @@ func NewInternalAPI(
DB: roomserverDB,
Cfg: cfg,
Producer: base.KafkaProducer,
- OutputRoomEventTopic: string(cfg.Matrix.Kafka.Topics.OutputRoomEvent),
+ OutputRoomEventTopic: string(cfg.Matrix.Kafka.TopicFor(config.TopicOutputRoomEvent)),
Cache: base.Caches,
ServerName: cfg.Matrix.ServerName,
FedClient: fedClient,