aboutsummaryrefslogtreecommitdiff
path: root/federationapi/federationapi.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 /federationapi/federationapi.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 'federationapi/federationapi.go')
-rw-r--r--federationapi/federationapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/federationapi.go b/federationapi/federationapi.go
index a982d800..9f149d97 100644
--- a/federationapi/federationapi.go
+++ b/federationapi/federationapi.go
@@ -92,7 +92,7 @@ func NewInternalAPI(
FailuresUntilBlacklist: cfg.FederationMaxRetries,
}
- js := jetstream.Prepare(&cfg.Matrix.JetStream)
+ js, _ := jetstream.Prepare(&cfg.Matrix.JetStream)
queues := queue.NewOutgoingQueues(
federationDB, base.ProcessContext,