aboutsummaryrefslogtreecommitdiff
path: root/keyserver
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 /keyserver
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 'keyserver')
-rw-r--r--keyserver/keyserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/keyserver.go b/keyserver/keyserver.go
index bd36fd9f..8a0ce617 100644
--- a/keyserver/keyserver.go
+++ b/keyserver/keyserver.go
@@ -39,7 +39,7 @@ func AddInternalRoutes(router *mux.Router, intAPI api.KeyInternalAPI) {
func NewInternalAPI(
base *base.BaseDendrite, cfg *config.KeyServer, fedClient fedsenderapi.FederationClient,
) api.KeyInternalAPI {
- js := jetstream.Prepare(&cfg.Matrix.JetStream)
+ js, _ := jetstream.Prepare(&cfg.Matrix.JetStream)
db, err := storage.NewDatabase(&cfg.Database)
if err != nil {