Call the new recoverAndFixBackup method to fix key storage if it's broken
This commit is contained in:
parent
dec417ea10
commit
b6a679ccf7
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ class RustEncryptionService(
|
|||
|
||||
override suspend fun recover(recoveryKey: String): Result<Unit> = withContext(dispatchers.io) {
|
||||
runCatchingExceptions {
|
||||
service.recover(recoveryKey)
|
||||
service.recoverAndFixBackup(recoveryKey)
|
||||
}.recoverCatching {
|
||||
when (it) {
|
||||
// We ignore import errors because the user will be notified about them via the "Key storage out of sync" detection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue