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