Remove noise

This commit is contained in:
Till Faelligen 2022-10-26 13:37:03 +02:00
parent bfd776abf6
commit e62c745995
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E
2 changed files with 1 additions and 4 deletions

View file

@ -15,8 +15,6 @@
package clientapi
import (
"github.com/matrix-org/gomatrixserverlib"
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
"github.com/matrix-org/dendrite/clientapi/api"
"github.com/matrix-org/dendrite/clientapi/producers"
@ -28,6 +26,7 @@ import (
"github.com/matrix-org/dendrite/setup/base"
"github.com/matrix-org/dendrite/setup/jetstream"
userapi "github.com/matrix-org/dendrite/userapi/api"
"github.com/matrix-org/gomatrixserverlib"
)
// AddPublicRoutes sets up and registers HTTP handlers for the ClientAPI component.
@ -66,6 +65,5 @@ func AddPublicRoutes(
userAPI, userDirectoryProvider, federation,
syncProducer, transactionsCache, fsAPI, keyAPI,
extRoomsProvider, mscCfg, natsClient,
base.Cfg.AppServiceAPI.DisableTLSValidation,
)
}

View file

@ -62,7 +62,6 @@ func Setup(
keyAPI keyserverAPI.ClientKeyAPI,
extRoomsProvider api.ExtraPublicRoomsProvider,
mscCfg *config.MSCs, natsClient *nats.Conn,
appserviceDisableTLSValidation bool,
) {
prometheus.MustRegister(amtRegUsers, sendEventDuration)