diff options
author | Kegsay <kegan@matrix.org> | 2020-03-19 11:04:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 11:04:08 +0000 |
commit | bfbf96eec9152f61cb3e54154f1ed82148d82a8a (patch) | |
tree | fac798d74b4969e4bb5bdef82e2f0887ed2ea48f /cmd/dendrite-monolith-server | |
parent | dc06c69887f7061411868b3a7a0ee8221a7053e1 (diff) |
p2p: Implement published rooms (#923)
* Create and glue ExternalPublicRoomsProvider into the public rooms component
This is how we will link p2p stuff to dendrite proper.
* Use gmsl structs rather than our own
* Implement federated public rooms
- Make thirdparty endpoint r0 so riot-web loads the public room list
* Typo
* Missing callsites
Diffstat (limited to 'cmd/dendrite-monolith-server')
-rw-r--r-- | cmd/dendrite-monolith-server/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-monolith-server/main.go b/cmd/dendrite-monolith-server/main.go index b3de9add..27c3054b 100644 --- a/cmd/dendrite-monolith-server/main.go +++ b/cmd/dendrite-monolith-server/main.go @@ -69,7 +69,7 @@ func main() { ) federationapi.SetupFederationAPIComponent(base, accountDB, deviceDB, federation, &keyRing, alias, input, query, asQuery, fedSenderAPI) mediaapi.SetupMediaAPIComponent(base, deviceDB) - publicroomsapi.SetupPublicRoomsAPIComponent(base, deviceDB, query) + publicroomsapi.SetupPublicRoomsAPIComponent(base, deviceDB, query, federation, nil) syncapi.SetupSyncAPIComponent(base, deviceDB, accountDB, query, federation, cfg) httpHandler := common.WrapHandlerInCORS(base.APIMux) |