diff options
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 545b95b0..637e1469 100644 --- a/clientapi/clientapi.go +++ b/clientapi/clientapi.go @@ -28,6 +28,7 @@ import ( "github.com/matrix-org/dendrite/internal/config" "github.com/matrix-org/dendrite/internal/transactions" roomserverAPI "github.com/matrix-org/dendrite/roomserver/api" + userapi "github.com/matrix-org/dendrite/userapi/api" "github.com/matrix-org/gomatrixserverlib" "github.com/sirupsen/logrus" ) @@ -46,6 +47,7 @@ func AddPublicRoutes( asAPI appserviceAPI.AppServiceQueryAPI, transactionsCache *transactions.Cache, fsAPI federationSenderAPI.FederationSenderInternalAPI, + userAPI userapi.UserInternalAPI, ) { syncProducer := &producers.SyncAPIProducer{ Producer: producer, @@ -61,7 +63,7 @@ func AddPublicRoutes( routing.Setup( router, cfg, eduInputAPI, rsAPI, asAPI, - accountsDB, deviceDB, federation, + accountsDB, deviceDB, userAPI, federation, syncProducer, transactionsCache, fsAPI, ) } |