fix(crypto): remove duplicate deleteSecretStorage in RustCrypto.resetEncryption (#4789)

This commit is contained in:
Florian Duros
2025-04-08 10:04:05 +02:00
committed by GitHub
parent ba71235539
commit b3fd92ad16
-1
View File
@@ -1465,7 +1465,6 @@ export class RustCrypto extends TypedEventEmitter<RustCryptoEvents, CryptoEventH
// Disable backup, and delete all the backups from the server
await this.backupManager.deleteAllKeyBackupVersions();
this.deleteSecretStorage();
await this.deleteSecretStorage();
// Reset the cross-signing keys