diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2024-08-16 12:37:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 12:37:59 +0200 |
commit | 7a4ef240fc8ec97ba957933de3a80e611ad7d1f5 (patch) | |
tree | c8946995640907a3ea6e64a8a0509a23b696c69e /setup | |
parent | 8c6cf51b8f6dd0f34ecc0f0b38d5475e2055a297 (diff) |
Implement MSC3916 (#3397)
Needs https://github.com/matrix-org/gomatrixserverlib/pull/437
Diffstat (limited to 'setup')
-rw-r--r-- | setup/monolith.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/monolith.go b/setup/monolith.go index 4856d6e8..72750354 100644 --- a/setup/monolith.go +++ b/setup/monolith.go @@ -78,7 +78,7 @@ func (m *Monolith) AddAllPublicRoutes( federationapi.AddPublicRoutes( processCtx, routers, cfg, natsInstance, m.UserAPI, m.FedClient, m.KeyRing, m.RoomserverAPI, m.FederationAPI, enableMetrics, ) - mediaapi.AddPublicRoutes(routers.Media, cm, cfg, m.UserAPI, m.Client) + mediaapi.AddPublicRoutes(routers, cm, cfg, m.UserAPI, m.Client, m.FedClient, m.KeyRing) syncapi.AddPublicRoutes(processCtx, routers, cfg, cm, natsInstance, m.UserAPI, m.RoomserverAPI, caches, enableMetrics) if m.RelayAPI != nil { |