You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-08-08 03:42:14 +03:00
Fix race conditions around threads (#8448)
This commit is contained in:
committed by
GitHub
parent
1aaaad2f32
commit
f29ef04751
@@ -381,6 +381,7 @@ export function mkStubRoom(roomId: string = null, name: string, client: MatrixCl
|
||||
client,
|
||||
myUserId: client?.getUserId(),
|
||||
canInvite: jest.fn(),
|
||||
getThreads: jest.fn().mockReturnValue([]),
|
||||
} as unknown as Room;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user