Skip to content

Commit

Permalink
Use new CrytoApi.restoreKeyBackup api in SetupEncryptionStore
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Nov 8, 2024
1 parent 266e6f7 commit ff35a1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stores/SetupEncryptionStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ export class SetupEncryptionStore extends EventEmitter {
await initialiseDehydration();

if (backupInfo) {
await cli.restoreKeyBackupWithSecretStorage(backupInfo);
await cli.getCrypto()?.loadSessionBackupPrivateKeyFromSecretStorage();
await cli.getCrypto()?.restoreKeyBackup();
}
}).catch(reject);
});
Expand Down

0 comments on commit ff35a1b

Please sign in to comment.