diff options
author | Kegsay <kegan@matrix.org> | 2020-07-02 17:11:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 17:11:33 +0100 |
commit | 9c1f38621c4d787761092bc841e06ca424fbbf35 (patch) | |
tree | c7663e2f1f0af6414d1d66567265f5158360d8f2 /clientapi/clientapi.go | |
parent | 4c1e6597c0ea82f5390b73f35036db58e65542cc (diff) |
Remove publicroomsapi (#1176)
* Remove all of publicroomsapi
* Remove references to publicroomsapi
* Remove doc references to publicroomsapi
Diffstat (limited to 'clientapi/clientapi.go')
-rw-r--r-- | clientapi/clientapi.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go index 8ea84249..bbce6dcc 100644 --- a/clientapi/clientapi.go +++ b/clientapi/clientapi.go @@ -18,6 +18,7 @@ import ( "github.com/Shopify/sarama" "github.com/gorilla/mux" appserviceAPI "github.com/matrix-org/dendrite/appservice/api" + "github.com/matrix-org/dendrite/clientapi/api" "github.com/matrix-org/dendrite/clientapi/producers" "github.com/matrix-org/dendrite/clientapi/routing" currentstateAPI "github.com/matrix-org/dendrite/currentstateserver/api" @@ -47,6 +48,7 @@ func AddPublicRoutes( transactionsCache *transactions.Cache, fsAPI federationSenderAPI.FederationSenderInternalAPI, userAPI userapi.UserInternalAPI, + extRoomsProvider api.ExternalPublicRoomsProvider, ) { syncProducer := &producers.SyncAPIProducer{ Producer: producer, @@ -56,6 +58,6 @@ func AddPublicRoutes( routing.Setup( router, cfg, eduInputAPI, rsAPI, asAPI, accountsDB, deviceDB, userAPI, federation, - syncProducer, transactionsCache, fsAPI, stateAPI, + syncProducer, transactionsCache, fsAPI, stateAPI, extRoomsProvider, ) } |