diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 5d25450200..19072fc164 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -648,8 +648,8 @@ module.exports = React.createClass({ clientSecret={this.state.register_client_secret} sessionId={this.state.register_session_id} idSid={this.state.register_id_sid} - hsUrl={config.default_hs_url} - isUrl={config.default_is_url} + hsUrl={this.props.config.default_hs_url} + isUrl={this.props.config.default_is_url} registrationUrl={this.props.registrationUrl} onLoggedIn={this.onRegistered} onLoginClick={this.onLoginClick} /> @@ -659,8 +659,8 @@ module.exports = React.createClass({ + homeserverUrl={this.props.config.default_hs_url} + identityServerUrl={this.props.config.default_is_url} /> ); } }