Actually add perspectives

This commit is contained in:
Neil Alexander 2020-04-20 17:21:55 +01:00
parent 59713629d8
commit f54d0bef4e

View file

@ -62,7 +62,7 @@ func CreateKeyRing(client gomatrixserverlib.Client,
perspective.PerspectiveServerKeys[key.KeyID] = rawkey perspective.PerspectiveServerKeys[key.KeyID] = rawkey
} }
fetchers = append(fetchers, perspective) fetchers.KeyFetchers = append(fetchers.KeyFetchers, perspective)
logrus.WithFields(logrus.Fields{ logrus.WithFields(logrus.Fields{
"server_name": ps.ServerName, "server_name": ps.ServerName,