Replace MatrixClient.isRoomEncrypted
by MatrixClient.CryptoApi.isEncryptionEnabledInRoom
in EventTile.tsx
This commit is contained in:
parent
b907ec380f
commit
dc53178ea6
4 changed files with 60 additions and 4 deletions
|
@ -135,6 +135,7 @@ export function createTestClient(): MatrixClient {
|
|||
restoreKeyBackupWithPassphrase: jest.fn(),
|
||||
loadSessionBackupPrivateKeyFromSecretStorage: jest.fn(),
|
||||
storeSessionBackupPrivateKey: jest.fn(),
|
||||
getEncryptionInfoForEvent: jest.fn().mockResolvedValue(null),
|
||||
}),
|
||||
|
||||
getPushActionsForEvent: jest.fn(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue