aboutsummaryrefslogtreecommitdiff
path: root/setup/config
diff options
context:
space:
mode:
Diffstat (limited to 'setup/config')
-rw-r--r--setup/config/config.go1
-rw-r--r--setup/config/config_clientapi.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/setup/config/config.go b/setup/config/config.go
index b8b12d0c..b9114407 100644
--- a/setup/config/config.go
+++ b/setup/config/config.go
@@ -344,6 +344,7 @@ func (c *Dendrite) Wiring() {
c.ClientAPI.Derived = &c.Derived
c.AppServiceAPI.Derived = &c.Derived
+ c.ClientAPI.MSCs = &c.MSCs
}
// Error returns a string detailing how many errors were contained within a
diff --git a/setup/config/config_clientapi.go b/setup/config/config_clientapi.go
index 52115491..c7cb9c33 100644
--- a/setup/config/config_clientapi.go
+++ b/setup/config/config_clientapi.go
@@ -37,6 +37,8 @@ type ClientAPI struct {
// Rate-limiting options
RateLimiting RateLimiting `yaml:"rate_limiting"`
+
+ MSCs *MSCs `yaml:"mscs"`
}
func (c *ClientAPI) Defaults() {