diff --git a/src/components/views/directory/NetworkDropdown.js b/src/components/views/directory/NetworkDropdown.js index 48d5152f..c52d4d4f 100644 --- a/src/components/views/directory/NetworkDropdown.js +++ b/src/components/views/directory/NetworkDropdown.js @@ -34,6 +34,7 @@ export default class NetworkDropdown extends React.Component { this.inputTextBox = null; + const server = MatrixClientPeg.getHomeServerName(); let defaultNetwork = null; if ( this.props.config.serverConfig && @@ -46,7 +47,7 @@ export default class NetworkDropdown extends React.Component { this.state = { expanded: false, - selectedServer: MatrixClientPeg.getHomeServerName(), + selectedServer: server, selectedNetwork: defaultNetwork, }; }