1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

When deleting a voice broadcast, also delete related events (#9737)

This commit is contained in:
Michael Weimann
2022-12-23 16:44:01 +01:00
committed by GitHub
parent a2777d3a03
commit 32140855fb
5 changed files with 178 additions and 3 deletions

View File

@@ -206,6 +206,7 @@ export function createTestClient(): MatrixClient {
requestPasswordEmailToken: jest.fn().mockRejectedValue({}),
setPassword: jest.fn().mockRejectedValue({}),
groupCallEventHandler: { groupCalls: new Map<string, GroupCall>() },
redactEvent: jest.fn(),
} as unknown as MatrixClient;
client.reEmitter = new ReEmitter(client);