diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-05-09 14:15:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 14:15:24 +0100 |
commit | 09d754cfbf9268044d0f59fbe509640b8d71e011 (patch) | |
tree | 23922c3b718c3317651fcd95da85f6f0765662f4 /keyserver | |
parent | 79e2fbc66368d8f4754b9fff8005d3e77969fcc4 (diff) |
One NATS instance per `BaseDendrite` (#2438)
* One NATS instance per `BaseDendrite`
* Fix roomserver
Diffstat (limited to 'keyserver')
-rw-r--r-- | keyserver/keyserver.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/keyserver.go b/keyserver/keyserver.go index 007a48a5..47d7f57f 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(base.ProcessContext, &cfg.Matrix.JetStream) + js, _ := base.NATS.Prepare(base.ProcessContext, &cfg.Matrix.JetStream) db, err := storage.NewDatabase(base, &cfg.Database) if err != nil { |