Merge pull request #5124 from matrix-org/travis/settings-v3
Settings v3: Feature flag changes
This commit is contained in:
commit
c9d98a1d19
28 changed files with 85 additions and 175 deletions
|
@ -95,7 +95,7 @@ export default createReactClass({
|
|||
}
|
||||
}
|
||||
|
||||
if (SettingsStore.isFeatureEnabled("feature_mjolnir")) {
|
||||
if (SettingsStore.getValue("feature_mjolnir")) {
|
||||
const key = `mx_mjolnir_render_${this.props.mxEvent.getRoomId()}__${this.props.mxEvent.getId()}`;
|
||||
const allowRender = localStorage.getItem(key) === "true";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue