Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into develop

pull/21833/head
Luke Barnard 2017-10-23 14:57:50 +01:00
commit 03f4e6c622
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ export default {
getLabsFeatures() { getLabsFeatures() {
const featuresConfig = SdkConfig.get()['features'] || {}; const featuresConfig = SdkConfig.get()['features'] || {};
// The old flag: honourned for backwards compat // The old flag: honoured for backwards compatibility
const enableLabs = SdkConfig.get()['enableLabs']; const enableLabs = SdkConfig.get()['enableLabs'];
let labsFeatures; let labsFeatures;
@ -217,7 +217,7 @@ export default {
isFeatureEnabled: function(featureId: string): boolean { isFeatureEnabled: function(featureId: string): boolean {
const featuresConfig = SdkConfig.get()['features']; const featuresConfig = SdkConfig.get()['features'];
// The old flag: honourned for backwards compat // The old flag: honoured for backwards compatibility
const enableLabs = SdkConfig.get()['enableLabs']; const enableLabs = SdkConfig.get()['enableLabs'];
let sdkConfigValue = enableLabs ? 'labs' : 'disable'; let sdkConfigValue = enableLabs ? 'labs' : 'disable';

View File

@ -42,11 +42,11 @@ class FlairAvatar extends React.Component {
render() { render() {
const httpUrl = this.context.matrixClient.mxcUrlToHttp( const httpUrl = this.context.matrixClient.mxcUrlToHttp(
this.props.groupProfile.avatarUrl, 14, 14, 'scale', false); this.props.groupProfile.avatarUrl, 16, 16, 'scale', false);
return <img return <img
src={httpUrl} src={httpUrl}
width="14px" width="16"
height="14px" height="16"
onClick={this.onClick} onClick={this.onClick}
title={this.props.groupProfile.groupId} />; title={this.props.groupProfile.groupId} />;
} }