There's a section in config.json:
"roomDirectory": {
"servers": [
"matrix.org"
]
},
This dictates which homeservers appear in the dropdown in the room directory.
We should probably default to searching the user's own homeserver if nothing is provided in that section of the config.
Originally posted by @lampholder in #9166 (comment)