Change setting style

This commit is contained in:
J. Ryan Stinnett 2019-05-17 17:43:08 +01:00
parent 3a405701a3
commit 45cdf880b1
5 changed files with 9 additions and 9 deletions

View file

@ -521,7 +521,7 @@ module.exports = withMatrixClient(React.createClass({
);
let tileHandler = getHandlerTile(this.props.mxEvent);
if (!tileHandler && SettingsStore.isFeatureEnabled("showHiddenEventsInTimeline")) {
if (!tileHandler && SettingsStore.getValue("showHiddenEventsInTimeline")) {
tileHandler = "messages.ViewSourceEvent";
}
// This shouldn't happen: the caller should check we support this type