Clarify why we pick popular servers over the one that created the room

This commit is contained in:
Travis Ralston 2018-10-26 12:21:27 -06:00
parent 3734c8ab91
commit 0857e2c5e9

View file

@ -80,6 +80,12 @@ export function pickServerCandidates(roomId) {
// be ACL'd in the future or for some reason be evicted from the room // be ACL'd in the future or for some reason be evicted from the room
// however an event like that is unlikely the larger the room gets. // however an event like that is unlikely the larger the room gets.
// Note: we don't pick the server the room was created on because the
// homeserver should already be using that server as a last ditch attempt
// and there's less of a guarantee that the server is a resident server.
// Instead, we actively figure out which servers are likely to be residents
// in the future and try to use those.
// Note: Users receiving permalinks that happen to have all 3 potential // Note: Users receiving permalinks that happen to have all 3 potential
// servers fail them (in terms of joining) are somewhat expected to hunt // servers fail them (in terms of joining) are somewhat expected to hunt
// down the person who gave them the link to ask for a participating server. // down the person who gave them the link to ask for a participating server.