Improve Threads beta around degraded mode (#8318)
* Hide MAB Threads prompt if user would have degraded mode * Confirm user wants to enable Threads beta if in degraded mode * fix * Fix copy
This commit is contained in:
parent
b8013fc52a
commit
7a1a2c41d2
6 changed files with 85 additions and 11 deletions
|
@ -42,6 +42,7 @@ import IncompatibleController from "./controllers/IncompatibleController";
|
|||
import { ImageSize } from "./enums/ImageSize";
|
||||
import { MetaSpace } from "../stores/spaces";
|
||||
import SdkConfig from "../SdkConfig";
|
||||
import ThreadBetaController from './controllers/ThreadBetaController';
|
||||
|
||||
// These are just a bunch of helper arrays to avoid copy/pasting a bunch of times
|
||||
const LEVELS_ROOM_SETTINGS = [
|
||||
|
@ -222,9 +223,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
|||
"feature_thread": {
|
||||
isFeature: true,
|
||||
labsGroup: LabGroup.Messaging,
|
||||
// Requires a reload as we change an option flag on the `js-sdk`
|
||||
// And the entire sync history needs to be parsed again
|
||||
controller: new ReloadOnChangeController(),
|
||||
controller: new ThreadBetaController(),
|
||||
displayName: _td("Threaded messaging"),
|
||||
supportedLevels: LEVELS_FEATURE,
|
||||
default: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue