1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Fix changing space sometimes bouncing to the wrong space (#7910)

This commit is contained in:
Michael Telatynski
2022-03-01 08:33:29 +00:00
committed by GitHub
parent 482d756bd0
commit 08c47ac473
4 changed files with 77 additions and 11 deletions

View File

@ -349,6 +349,7 @@ export function mkStubRoom(roomId = null, name: string, client: MatrixClient): R
getAltAliases: jest.fn().mockReturnValue([]),
timeline: [],
getJoinRule: jest.fn().mockReturnValue("invite"),
loadMembersIfNeeded: jest.fn(),
client,
} as unknown as Room;
}