[Release] Switch threads on for everyone (#9890)
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
This commit is contained in:
parent
f38b5f62e5
commit
f4ad9b29ac
25 changed files with 38 additions and 38 deletions
|
@ -174,7 +174,7 @@ describe("TimelinePanel", () => {
|
|||
const getValueCopy = SettingsStore.getValue;
|
||||
SettingsStore.getValue = jest.fn().mockImplementation((name: string) => {
|
||||
if (name === "sendReadReceipts") return true;
|
||||
if (name === "feature_threadstable") return false;
|
||||
if (name === "feature_threadenabled") return false;
|
||||
return getValueCopy(name);
|
||||
});
|
||||
|
||||
|
@ -188,7 +188,7 @@ describe("TimelinePanel", () => {
|
|||
const getValueCopy = SettingsStore.getValue;
|
||||
SettingsStore.getValue = jest.fn().mockImplementation((name: string) => {
|
||||
if (name === "sendReadReceipts") return false;
|
||||
if (name === "feature_threadstable") return false;
|
||||
if (name === "feature_threadenabled") return false;
|
||||
return getValueCopy(name);
|
||||
});
|
||||
|
||||
|
@ -365,7 +365,7 @@ describe("TimelinePanel", () => {
|
|||
client.supportsExperimentalThreads = () => true;
|
||||
const getValueCopy = SettingsStore.getValue;
|
||||
SettingsStore.getValue = jest.fn().mockImplementation((name: string) => {
|
||||
if (name === "feature_threadstable") return true;
|
||||
if (name === "feature_threadenabled") return true;
|
||||
return getValueCopy(name);
|
||||
});
|
||||
|
||||
|
@ -520,7 +520,7 @@ describe("TimelinePanel", () => {
|
|||
});
|
||||
|
||||
it("renders when the last message is an undecryptable thread root", async () => {
|
||||
jest.spyOn(SettingsStore, "getValue").mockImplementation((name) => name === "feature_threadstable");
|
||||
jest.spyOn(SettingsStore, "getValue").mockImplementation((name) => name === "feature_threadenabled");
|
||||
|
||||
const client = MatrixClientPeg.get();
|
||||
client.isRoomEncrypted = () => true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue