aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-16 14:21:11 +0000
committerGitHub <noreply@github.com>2022-03-16 14:21:11 +0000
commite30aa38fb0d4ebe4ccc2adcbcdf3211b9a1d3ec7 (patch)
treecd4d41b6d6113dcc9f12f42da7350dec24731dc8 /clientapi/clientapi.go
parent485367fcfa2fe25bf7ba3edab2a1f099ad4dd867 (diff)
Stream tweaks, use same codepath for sync vs async input room events, wait for error response via NATS messages (#2283)
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,