From a308e61331f549ae0964f83dff88abc282033ed3 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 29 Apr 2020 11:34:31 +0100 Subject: Federation sender API remodel (#988) * Define an input API for the federationsender * Wiring for rooomserver input API and federation sender input API * Whoops, commit common too * Merge input API into query API * Rename FederationSenderQueryAPI to FederationSenderInternalAPI * Fix dendritejs * Rename Input to Perform * Fix a couple of inputs -> performs * Remove needless storage interface, add comments --- cmd/dendritejs/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/dendritejs') diff --git a/cmd/dendritejs/main.go b/cmd/dendritejs/main.go index 6300d249..7665138e 100644 --- a/cmd/dendritejs/main.go +++ b/cmd/dendritejs/main.go @@ -129,6 +129,7 @@ func main() { base, accountDB, deviceDB, federation, alias, query, transactions.New(), ) fedSenderAPI := federationsender.SetupFederationSenderComponent(base, federation, query, input) + input.SetFederationSenderAPI(fedSenderAPI) clientapi.SetupClientAPIComponent( base, deviceDB, accountDB, -- cgit v1.2.3