diff options
author | Alex Chen <Cnly@users.noreply.github.com> | 2019-10-02 00:09:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 00:09:47 +0800 |
commit | e239fb10f36662d38ab9d1cad5a0bc65518c1704 (patch) | |
tree | 8cbaad35e3ea31bd6198e8da923e0b918d73e6b9 /cmd/dendrite-client-api-server | |
parent | 49fd47c86313f036da3a9549e7d14def166f4ea7 (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.go | 3 |
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)) |