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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}