From ce2a285887d314fbcdc909f97f2b96ec00f5e6f7 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 3 Jul 2020 14:29:36 +0100 Subject: [PATCH] Add public rooms provider into gobind build --- build/gobind/monolith.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/gobind/monolith.go b/build/gobind/monolith.go index ea9c62f2..bf4c020b 100644 --- a/build/gobind/monolith.go +++ b/build/gobind/monolith.go @@ -11,6 +11,7 @@ import ( "github.com/matrix-org/dendrite/appservice" "github.com/matrix-org/dendrite/cmd/dendrite-demo-yggdrasil/signing" "github.com/matrix-org/dendrite/cmd/dendrite-demo-yggdrasil/yggconn" + "github.com/matrix-org/dendrite/cmd/dendrite-demo-yggdrasil/yggrooms" "github.com/matrix-org/dendrite/currentstateserver" "github.com/matrix-org/dendrite/eduserver" "github.com/matrix-org/dendrite/eduserver/cache" @@ -127,7 +128,9 @@ func (m *DendriteMonolith) Start() { RoomserverAPI: rsAPI, UserAPI: userAPI, StateAPI: stateAPI, - //ServerKeyAPI: serverKeyAPI, + ExtPublicRoomsProvider: yggrooms.NewYggdrasilRoomProvider( + ygg, fsAPI, federation, + ), } monolith.AddAllPublicRoutes(base.PublicAPIMux)