aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-client-api-server
diff options
context:
space:
mode:
authorAlex Chen <Cnly@users.noreply.github.com>2019-10-02 00:09:47 +0800
committerGitHub <noreply@github.com>2019-10-02 00:09:47 +0800
commite239fb10f36662d38ab9d1cad5a0bc65518c1704 (patch)
tree8cbaad35e3ea31bd6198e8da923e0b918d73e6b9 /cmd/dendrite-client-api-server
parent49fd47c86313f036da3a9549e7d14def166f4ea7 (diff)
Add missing servers field in /directory/room/:alias response (#732)
Diffstat (limited to 'cmd/dendrite-client-api-server')
-rw-r--r--cmd/dendrite-client-api-server/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dendrite-client-api-server/main.go b/cmd/dendrite-client-api-server/main.go
index dd065644..e273ecad 100644
--- a/cmd/dendrite-client-api-server/main.go
+++ b/cmd/dendrite-client-api-server/main.go
@@ -37,11 +37,12 @@ func main() {
asQuery := base.CreateHTTPAppServiceAPIs()
alias, input, query := base.CreateHTTPRoomserverAPIs()
+ fedSenderAPI := base.CreateHTTPFederationSenderAPIs()
typingInputAPI := typingserver.SetupTypingServerComponent(base, cache.NewTypingCache())
clientapi.SetupClientAPIComponent(
base, deviceDB, accountDB, federation, &keyRing,
- alias, input, query, typingInputAPI, asQuery, transactions.New(),
+ alias, input, query, typingInputAPI, asQuery, transactions.New(), fedSenderAPI,
)
base.SetupAndServeHTTP(string(base.Cfg.Listen.ClientAPI))