Remove experimental threads disclaimer (#8445)

This commit is contained in:
Germain 2022-05-06 09:32:33 +01:00 committed by GitHub
parent 2e3185a4bc
commit 8080c2cc04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 36 deletions

View file

@ -21,7 +21,6 @@ import { ElementSession } from "../session";
export async function enableThreads(session: ElementSession): Promise<void> {
session.log.step(`enables threads`);
await session.page.evaluate(() => {
window.localStorage.setItem("mx_seen_feature_thread_experimental", "1"); // inhibit dialog
window["mxSettingsStore"].setValue("feature_thread", null, "device", true);
});
session.log.done();