aboutsummaryrefslogtreecommitdiff
path: root/federationapi/federationapi.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2021-01-22 16:08:47 +0000
committerGitHub <noreply@github.com>2021-01-22 16:08:47 +0000
commit93942f8ab62ffdb55888d5d35adef6fe73e3ea59 (patch)
treee261374817728e22c5e4937975ea42cc71e54f9b /federationapi/federationapi.go
parent0571d395b51d7788c692b916cd7ba9249a494ed1 (diff)
Gate peeking behind msc flags (#1731)
Diffstat (limited to 'federationapi/federationapi.go')
-rw-r--r--federationapi/federationapi.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/federationapi/federationapi.go b/federationapi/federationapi.go
index 350d5853..6188b283 100644
--- a/federationapi/federationapi.go
+++ b/federationapi/federationapi.go
@@ -38,10 +38,11 @@ func AddPublicRoutes(
federationSenderAPI federationSenderAPI.FederationSenderInternalAPI,
eduAPI eduserverAPI.EDUServerInputAPI,
keyAPI keyserverAPI.KeyInternalAPI,
+ mscCfg *config.MSCs,
) {
routing.Setup(
fedRouter, keyRouter, cfg, rsAPI,
eduAPI, federationSenderAPI, keyRing,
- federation, userAPI, keyAPI,
+ federation, userAPI, keyAPI, mscCfg,
)
}