1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-23 17:02:25 +03:00

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

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