aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-federation-api-server
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-06-04 15:43:07 +0100
committerGitHub <noreply@github.com>2020-06-04 15:43:07 +0100
commit9834ac97db042b0c78fbd72652aa534129ca3afe (patch)
tree4fd862ffba61e47f94b2fcc5685a0502e21b3c70 /cmd/dendrite-federation-api-server
parentd785ad82b996989381657292fbd2c28b9fbb7df6 (diff)
Convert everything but serverkeyapi to inthttp (#1096)
* Convert roomserver to new inthttp format * Convert eduserver to new inthttp format * Convert appservice to new inthttp format
Diffstat (limited to 'cmd/dendrite-federation-api-server')
-rw-r--r--cmd/dendrite-federation-api-server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dendrite-federation-api-server/main.go b/cmd/dendrite-federation-api-server/main.go
index 3c42532c..aca6ba57 100644
--- a/cmd/dendrite-federation-api-server/main.go
+++ b/cmd/dendrite-federation-api-server/main.go
@@ -36,8 +36,8 @@ func main() {
fsAPI := base.FederationSenderHTTPClient()
- rsAPI := base.CreateHTTPRoomserverAPIs()
- asAPI := base.CreateHTTPAppServiceAPIs()
+ rsAPI := base.RoomserverHTTPClient()
+ asAPI := base.AppserviceHTTPClient()
rsAPI.SetFederationSenderAPI(fsAPI)
eduInputAPI := eduserver.SetupEDUServerComponent(base, cache.New(), deviceDB)
eduProducer := producers.NewEDUServerProducer(eduInputAPI)