aboutsummaryrefslogtreecommitdiff
path: root/setup/config
diff options
context:
space:
mode:
authorsumitks866 <31448420+sumitks866@users.noreply.github.com>2021-01-18 18:39:28 +0530
committerGitHub <noreply@github.com>2021-01-18 13:09:28 +0000
commitdd1e31bee7b96c0e7e1697b21f7f1119b5cc4622 (patch)
treee979b20fc6e437a33ace5e79dc3da007259fe8c6 /setup/config
parent534c29ab02e4566712bcc7eb9912b1a7a21e0ae4 (diff)
Mention unstable features in /_matrix/client/versions (#1710)
* Mention unstable features in /_matrix/client/versions * list enabled mscs * Don't update go.mod/go.sum * goimports Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
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() {