Replace labs flag with a real setting

This commit is contained in:
Travis Ralston 2020-07-07 13:56:46 -06:00
parent a49b5109c6
commit 8ef4b1b2e7
5 changed files with 7 additions and 7 deletions

View file

@ -72,9 +72,9 @@ export class RoomListStore2 extends AsyncStore<ActionPayload> {
return this._matrixClient;
}
// TODO: Remove enabled flag with the old RoomListStore: https://github.com/vector-im/riot-web/issues/14231
// TODO: Remove enabled flag with the old RoomListStore: https://github.com/vector-im/riot-web/issues/14367
private checkEnabled() {
this.enabled = SettingsStore.isFeatureEnabled("feature_new_room_list");
this.enabled = SettingsStore.getValue("feature_new_room_list");
if (this.enabled) {
console.log("⚡ new room list store engaged");
}