1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Allow knocking rooms (#11353)

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
This commit is contained in:
Charly Nguyen
2023-08-07 08:27:09 +02:00
committed by GitHub
parent e6af09e424
commit 5152aad059
18 changed files with 689 additions and 7 deletions

View File

@ -242,6 +242,8 @@ export function createTestClient(): MatrixClient {
getSyncStateData: jest.fn(),
getDehydratedDevice: jest.fn(),
exportRoomKeys: jest.fn(),
knockRoom: jest.fn(),
leave: jest.fn(),
} as unknown as MatrixClient;
client.reEmitter = new ReEmitter(client);