aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-monolith-server
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-06-16 14:29:11 +0100
committerGitHub <noreply@github.com>2020-06-16 14:29:11 +0100
commitfc0e74ae0f02b7bb9d71d739660deef824ddbd33 (patch)
treefd718a25749cc56e08412d565f5f1bf472156eb4 /cmd/dendrite-monolith-server
parent9c77022513f400db59409f5b55fc6223d38d6bb8 (diff)
Fix media API for demos and possibly Synapse (#1134)
* Fix media API for demos and possibly Synapse * User API * goimports
Diffstat (limited to 'cmd/dendrite-monolith-server')
-rw-r--r--cmd/dendrite-monolith-server/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dendrite-monolith-server/main.go b/cmd/dendrite-monolith-server/main.go
index 675474b8..16e274fc 100644
--- a/cmd/dendrite-monolith-server/main.go
+++ b/cmd/dendrite-monolith-server/main.go
@@ -31,6 +31,7 @@ import (
"github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/serverkeyapi"
"github.com/matrix-org/dendrite/userapi"
+ "github.com/matrix-org/gomatrixserverlib"
"github.com/sirupsen/logrus"
)
@@ -126,6 +127,7 @@ func main() {
Config: base.Cfg,
AccountDB: accountDB,
DeviceDB: deviceDB,
+ Client: gomatrixserverlib.NewClient(),
FedClient: federation,
KeyRing: keyRing,
KafkaConsumer: base.KafkaConsumer,