1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Implement third-party invite waiting room (#10229)

This commit is contained in:
Michael Weimann
2023-03-06 12:08:04 +01:00
committed by GitHub
parent 94950c6987
commit db6ee53535
12 changed files with 388 additions and 40 deletions

View File

@ -70,10 +70,10 @@ describe("createDmLocalRoom", () => {
mocked(privateShouldBeEncrypted).mockReturnValue(true);
});
it("should create an unencrypted room for 3PID targets", async () => {
it("should create an encrytped room for 3PID targets", async () => {
const room = await createDmLocalRoom(mockClient, [member2]);
expect(mockClient.store.storeRoom).toHaveBeenCalledWith(room);
assertLocalRoom(room, [member2], false);
assertLocalRoom(room, [member2], true);
});
describe("for MXID targets with encryption available", () => {