diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-16 14:21:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 14:21:11 +0000 |
commit | e30aa38fb0d4ebe4ccc2adcbcdf3211b9a1d3ec7 (patch) | |
tree | cd4d41b6d6113dcc9f12f42da7350dec24731dc8 /userapi | |
parent | 485367fcfa2fe25bf7ba3edab2a1f099ad4dd867 (diff) |
Stream tweaks, use same codepath for sync vs async input room events, wait for error response via NATS messages (#2283)
Diffstat (limited to 'userapi')
-rw-r--r-- | userapi/userapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/userapi.go b/userapi/userapi.go index 251a4eda..1e4ebcb2 100644 --- a/userapi/userapi.go +++ b/userapi/userapi.go @@ -46,7 +46,7 @@ func NewInternalAPI( appServices []config.ApplicationService, keyAPI keyapi.KeyInternalAPI, rsAPI rsapi.RoomserverInternalAPI, pgClient pushgateway.Client, ) api.UserInternalAPI { - js := jetstream.Prepare(&cfg.Matrix.JetStream) + js, _ := jetstream.Prepare(&cfg.Matrix.JetStream) syncProducer := producers.NewSyncAPI( db, js, |