This is why we shouldn't rely on regex
This commit is contained in:
Jorik Schellekens 2020-05-07 14:22:15 +01:00
parent 5a0fdb36c0
commit bc5fc57dd6
3 changed files with 14 additions and 5 deletions

View file

@ -173,7 +173,11 @@ export default class MessagePanel extends React.Component {
SettingsStore.watchSetting("showTypingNotifications", null, this.onShowTypingNotificationsChange);
this._layoutWatcherRef = SettingsStore.watchSetting("feature_irc_ui", null, this.onLayoutChange);
this._displayAvatarsWatcherRef = SettingsStore.watchSetting("feature_no_timeline_avatars", null, this.onDisplayAvatarsChange);
this._displayAvatarsWatcherRef = SettingsStore.watchSetting(
"feature_no_timeline_avatars",
null,
this.onDisplayAvatarsChange,
);
}
componentDidMount() {