aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2022-04-04 18:31:41 +0200
committerGitHub <noreply@github.com>2022-04-04 17:31:41 +0100
commit1783496423dcddd33fbbe4dcecdf8162c5cef685 (patch)
tree67fb8023d98e0d97c8a1ed6960ab4a198b5b76dc /internal
parentf2f9d2916b3a2f23761bbfab98940eb84c36f3b1 (diff)
remove obsolete config entry "federation_certificates" (#2318)
* Remove all federation_certificates occurencs This configuration value has not been used since 2019 apparently, and indeed it is never really used in the code base. So remove all traces of it from the various configuration files. Also remove the unused variable FederationCertificatePaths Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> * setup/config/config_test.go: remove federation_sender config snippet The federation_sender: section was folded into the federation_api some time ago, and this seems to be the only leftover in the code base. So remove it.
Diffstat (limited to 'internal')
-rw-r--r--internal/test/config.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/test/config.go b/internal/test/config.go
index 0b0e897b..d8e0c453 100644
--- a/internal/test/config.go
+++ b/internal/test/config.go
@@ -78,8 +78,6 @@ func MakeConfig(configDir, kafkaURI, database, host string, startPort int) (*con
cfg.Global.ServerName = gomatrixserverlib.ServerName(assignAddress())
cfg.Global.PrivateKeyPath = config.Path(serverKeyPath)
- cfg.FederationAPI.FederationCertificatePaths = []config.Path{config.Path(tlsCertPath)}
-
cfg.MediaAPI.BasePath = config.Path(mediaBasePath)
cfg.Global.JetStream.Addresses = []string{kafkaURI}