Remove dupe call to SetFederationAPI

This commit is contained in:
Neil Alexander 2022-01-07 16:38:01 +00:00
parent a96c0cfc00
commit a22b22e3cd
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -99,10 +99,6 @@ func main() {
}
keyRing := fsAPI.KeyRing()
// The underlying roomserver implementation needs to be able to call the fedsender.
// This is different to rsAPI which can be the http client which doesn't need this dependency
rsImpl.SetFederationAPI(fsAPI, keyRing)
keyImpl := keyserver.NewInternalAPI(base, &base.Cfg.KeyServer, fsAPI)
keyAPI := keyImpl
if base.UseHTTPAPIs {