aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/clientapi.go')
-rw-r--r--clientapi/clientapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index 91847667..e4279c22 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -49,7 +49,7 @@ func AddPublicRoutes(
extRoomsProvider api.ExtraPublicRoomsProvider,
mscCfg *config.MSCs,
) {
- js := jetstream.Prepare(&cfg.Matrix.JetStream)
+ js, _ := jetstream.Prepare(&cfg.Matrix.JetStream)
syncProducer := &producers.SyncAPIProducer{
JetStream: js,