Perform outbound federation hits for querying/claiming E2E keys (#1212)

* Perform outbound federation hits for querying/claiming E2E keys

Untested currently because we need the receiving end to work
before sytest will be happy.

* Linting
This commit is contained in:
Kegsay 2020-07-21 17:46:47 +01:00 committed by GitHub
parent f54689f862
commit 470933789b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 122 additions and 34 deletions

View file

@ -119,7 +119,7 @@ func main() {
rsImpl.SetFederationSenderAPI(fsAPI)
stateAPI := currentstateserver.NewInternalAPI(base.Cfg, base.KafkaConsumer)
keyAPI := keyserver.NewInternalAPI(base.Cfg)
keyAPI := keyserver.NewInternalAPI(base.Cfg, federation)
monolith := setup.Monolith{
Config: base.Cfg,