diff --git a/ElementX/Sources/Services/SecureBackup/SecureBackupController.swift b/ElementX/Sources/Services/SecureBackup/SecureBackupController.swift index 7b5cb1757..a51e0345c 100644 --- a/ElementX/Sources/Services/SecureBackup/SecureBackupController.swift +++ b/ElementX/Sources/Services/SecureBackup/SecureBackupController.swift @@ -147,7 +147,7 @@ class SecureBackupController: SecureBackupControllerProtocol { func confirmRecoveryKey(_ key: String) async -> Result { do { MXLog.info("Confirming recovery key") - try await encryption.recover(recoveryKey: key) + try await encryption.recoverAndFixBackup(recoveryKey: key) return .success(()) } catch { MXLog.info("Failed confirming recovery key with error: \(error)")