From bc48007467cd8b6765178fd756e62706045a67b7 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 23 Jan 2025 10:39:19 +0100 Subject: [PATCH] chore(crypto api): Add logging in `resetEncryption` --- src/rust-crypto/rust-crypto.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rust-crypto/rust-crypto.ts b/src/rust-crypto/rust-crypto.ts index 8c1871ed9e..d995b165de 100644 --- a/src/rust-crypto/rust-crypto.ts +++ b/src/rust-crypto/rust-crypto.ts @@ -1477,6 +1477,8 @@ export class RustCrypto extends TypedEventEmitter): Promise { + this.logger.debug("resetEncryption: resetting encryption"); + // Disable backup, and delete all the backups from the server await this.backupManager.deleteAllKeyBackupVersions(); @@ -1491,6 +1493,8 @@ export class RustCrypto extends TypedEventEmitter