diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-09-29 17:08:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 17:08:18 +0100 |
commit | f290e92a34c67e4d9673629810ac8f0f85b28b7c (patch) | |
tree | 01df1a3f865d899a6ec150365f4254cba08d10fe /internal/config/config_serverkey.go | |
parent | 43cdba9a69674899a5900aee976ebc7add286914 (diff) |
Remove TLS fingerprints, improve perspective unmarshal handling (#1452)
* Add prefer_direct_fetch option
* Update gomatrixserverlib
* Update gomatrixserverlib
* Update gomatrixserverlib
* Don't deal in TLS fingerprints anymore
Diffstat (limited to 'internal/config/config_serverkey.go')
-rw-r--r-- | internal/config/config_serverkey.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/config/config_serverkey.go b/internal/config/config_serverkey.go index 40506d23..788a2fa0 100644 --- a/internal/config/config_serverkey.go +++ b/internal/config/config_serverkey.go @@ -14,6 +14,9 @@ type ServerKeyAPI struct { // Perspective keyservers, to use as a backup when direct key fetch // requests don't succeed KeyPerspectives KeyPerspectives `yaml:"key_perspectives"` + + // Should we prefer direct key fetches over perspective ones? + PreferDirectFetch bool `yaml:"prefer_direct_fetch"` } func (c *ServerKeyAPI) Defaults() { |