You've already forked matrix-js-sdk
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user