aboutsummaryrefslogtreecommitdiff
path: root/setup/monolith.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-06-30 12:05:58 +0100
committerGitHub <noreply@github.com>2021-06-30 12:05:58 +0100
commitb7a2d369c0b4c18208db5f44a29a4829dd7e39f3 (patch)
treeade8b0e87d696491fb613d6415b4b0fade2f7c69 /setup/monolith.go
parent0e69212206d7abbe5d3e4c65b4ae369a0067bdc9 (diff)
Change how servers are selected for missing auth/prev events (#1892)
* Change how servers are selected for missing auth/prev events * Shuffle order * Move ServersInRoomProvider into api package
Diffstat (limited to 'setup/monolith.go')
-rw-r--r--setup/monolith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/monolith.go b/setup/monolith.go
index a740ebb7..235be447 100644
--- a/setup/monolith.go
+++ b/setup/monolith.go
@@ -68,7 +68,7 @@ func (m *Monolith) AddAllPublicRoutes(process *process.ProcessContext, csMux, ss
federationapi.AddPublicRoutes(
ssMux, keyMux, &m.Config.FederationAPI, m.UserAPI, m.FedClient,
m.KeyRing, m.RoomserverAPI, m.FederationSenderAPI,
- m.EDUInternalAPI, m.KeyAPI, &m.Config.MSCs,
+ m.EDUInternalAPI, m.KeyAPI, &m.Config.MSCs, nil,
)
mediaapi.AddPublicRoutes(mediaMux, &m.Config.MediaAPI, m.UserAPI, m.Client)
syncapi.AddPublicRoutes(