From e30aa38fb0d4ebe4ccc2adcbcdf3211b9a1d3ec7 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 16 Mar 2022 14:21:11 +0000 Subject: Stream tweaks, use same codepath for sync vs async input room events, wait for error response via NATS messages (#2283) --- clientapi/clientapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clientapi/clientapi.go') 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, -- cgit v1.2.3