aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-07-03 14:29:36 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-07-03 14:29:36 +0100
commitce2a285887d314fbcdc909f97f2b96ec00f5e6f7 (patch)
tree878f7df84934e57cd950db5d067cb908d7eedf7b /build
parent3a28ddfb7a01999f4681333e7c8526b2a430f357 (diff)
Add public rooms provider into gobind build
Diffstat (limited to 'build')
-rw-r--r--build/gobind/monolith.go5
1 files changed, 4 insertions, 1 deletions
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)