mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Improve handling of invalid incrementalMac during backup import
This commit is contained in:
@@ -834,6 +834,9 @@ export async function runDownloadAttachmentJobInner({
|
||||
);
|
||||
return { downloadedVariant: AttachmentVariant.Default };
|
||||
} catch (error) {
|
||||
if (isIncrementalMacVerificationError(error)) {
|
||||
throw error;
|
||||
}
|
||||
if (mightHaveBackupThumbnailToDownload && !attemptBackupThumbnailFirst) {
|
||||
log.error(
|
||||
`${logId}: failed to download fullsize attachment, falling back to backup thumbnail`,
|
||||
|
||||
Reference in New Issue
Block a user