From c67005c306bc31e3d631e0426b5ec870e0db6882 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 30 Nov 2015 17:15:02 +0000 Subject: [PATCH 1/3] switch avatar initial layout to work with Open Sans --- src/components/views/avatars/MemberAvatar.js | 4 ++-- src/components/views/avatars/RoomAvatar.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/avatars/MemberAvatar.js b/src/components/views/avatars/MemberAvatar.js index 4a6c9fb92e..42c2f6ca2d 100644 --- a/src/components/views/avatars/MemberAvatar.js +++ b/src/components/views/avatars/MemberAvatar.js @@ -92,9 +92,9 @@ module.exports = React.createClass({ return ( + lineHeight: this.props.height + "px" }}>{ initial } diff --git a/src/components/views/avatars/RoomAvatar.js b/src/components/views/avatars/RoomAvatar.js index 95ec39de2e..2c1de65bcf 100644 --- a/src/components/views/avatars/RoomAvatar.js +++ b/src/components/views/avatars/RoomAvatar.js @@ -155,9 +155,9 @@ module.exports = React.createClass({ return ( + lineHeight: this.props.height + "px" }}>{ initial } From fe16b221f8fca5e22122981288427c9b937e9d6b Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 1 Dec 2015 13:48:53 +0000 Subject: [PATCH 2/3] s/vector.im/matrix.org/ --- src/components/structures/login/Login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/login/Login.js b/src/components/structures/login/Login.js index 4fffcaf7cf..e3ec87f8f2 100644 --- a/src/components/structures/login/Login.js +++ b/src/components/structures/login/Login.js @@ -39,7 +39,7 @@ module.exports = React.createClass({displayName: 'Login', getDefaultProps: function() { return { homeserverUrl: 'https://matrix.org/', - identityServerUrl: 'https://vector.im' + identityServerUrl: 'https://matrix.org' }; }, From d5819d54dbfab735d74857a426a4f728ec8e2a4e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 1 Dec 2015 15:36:40 +0000 Subject: [PATCH 3/3] Fix typos --- src/components/structures/MatrixChat.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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} /> ); } }