aboutsummaryrefslogtreecommitdiff
path: root/setup/config/config_federationapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/config/config_federationapi.go')
-rw-r--r--setup/config/config_federationapi.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/config/config_federationapi.go b/setup/config/config_federationapi.go
index 8c1540b5..a72eee36 100644
--- a/setup/config/config_federationapi.go
+++ b/setup/config/config_federationapi.go
@@ -2,6 +2,7 @@ package config
import (
"github.com/matrix-org/gomatrixserverlib"
+ "github.com/matrix-org/gomatrixserverlib/spec"
)
type FederationAPI struct {
@@ -101,7 +102,7 @@ type KeyPerspectives []KeyPerspective
type KeyPerspective struct {
// The server name of the perspective key server
- ServerName gomatrixserverlib.ServerName `yaml:"server_name"`
+ ServerName spec.ServerName `yaml:"server_name"`
// Server keys for the perspective user, used to verify the
// keys have been signed by the perspective server
Keys []KeyPerspectiveTrustKey `yaml:"keys"`