You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
lint hell
This commit is contained in:
@@ -21,7 +21,6 @@ import PropTypes from 'prop-types';
|
|||||||
import {MatrixClient} from 'matrix-js-sdk';
|
import {MatrixClient} from 'matrix-js-sdk';
|
||||||
import FlairStore from '../../../stores/FlairStore';
|
import FlairStore from '../../../stores/FlairStore';
|
||||||
import dis from '../../../dispatcher';
|
import dis from '../../../dispatcher';
|
||||||
import SettingsStore from "../../../settings/SettingsStore";
|
|
||||||
|
|
||||||
|
|
||||||
class FlairAvatar extends React.Component {
|
class FlairAvatar extends React.Component {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export default class AccountSettingHandler extends SettingsHandler {
|
|||||||
if (preferredValue === null || preferredValue === undefined) {
|
if (preferredValue === null || preferredValue === undefined) {
|
||||||
// Honour the old setting on read only
|
// Honour the old setting on read only
|
||||||
if (settingName === "hideAvatarChanges" || settingName === "hideDisplaynameChanges") {
|
if (settingName === "hideAvatarChanges" || settingName === "hideDisplaynameChanges") {
|
||||||
preferredValue = this._getSettings()["hideAvatarDisplaynameChanges"]
|
preferredValue = this._getSettings()["hideAvatarDisplaynameChanges"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user