diff --git a/matrix/federation.go b/matrix/federation.go index ea92bb6318d3c48103ee5d9964e49ca4b3692a19..b4bd6cda3ea4797211193f20532980893578f451 100644 --- a/matrix/federation.go +++ b/matrix/federation.go @@ -58,9 +58,6 @@ func getFederationBreaker(hostname string) *circuit.Breaker { // Note: URL lookups are not covered by the breaker because otherwise it might never close. func GetServerApiUrl(hostname string) (string, string, error) { logrus.Info("Getting server API URL for " + hostname) - if hostname == "federation.matrix.org" { - return "https://oauth.t2host.io", "oauth.t2host.io", nil - } // Check to see if we've cached this hostname at all setupCache()