Replace MatrixClient.isRoomEncrypted
by MatrixClient.CryptoApi.isEncryptionEnabledInRoom
in SecurityRoomSettingsTab
(#28281)
This commit is contained in:
parent
e73a832008
commit
6d0d237c79
3 changed files with 26 additions and 30 deletions
|
@ -269,6 +269,7 @@ export function createTestClient(): MatrixClient {
|
|||
getAuthIssuer: jest.fn(),
|
||||
getOrCreateFilter: jest.fn(),
|
||||
sendStickerMessage: jest.fn(),
|
||||
getLocalAliases: jest.fn().mockReturnValue([]),
|
||||
} as unknown as MatrixClient;
|
||||
|
||||
client.reEmitter = new ReEmitter(client);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue