mirror of https://github.com/vector-im/riot-web
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into develop
commit
03f4e6c622
|
@ -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';
|
||||||
|
|
|
@ -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} />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue