Fix changing space sometimes bouncing to the wrong space (#7910)
This commit is contained in:
parent
482d756bd0
commit
08c47ac473
4 changed files with 77 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue