Fix roomserver

This commit is contained in:
Neil Alexander 2022-05-09 13:40:31 +01:00
parent 031d7a920d
commit f5d4349d19
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -50,7 +50,7 @@ func NewInternalAPI(
logrus.WithError(err).Panicf("failed to connect to room server db")
}
js, nc := base.NATSInstance.Prepare(base.ProcessContext, &cfg.Matrix.JetStream)
js, nc := base.NATS.Prepare(base.ProcessContext, &cfg.Matrix.JetStream)
return internal.NewRoomserverAPI(
base.ProcessContext, cfg, roomserverDB, js, nc,