diff --git a/ts/textsecure/downloadAttachment.ts b/ts/textsecure/downloadAttachment.ts index cf97031512..7c9f1fc3a9 100644 --- a/ts/textsecure/downloadAttachment.ts +++ b/ts/textsecure/downloadAttachment.ts @@ -127,7 +127,7 @@ export async function downloadAttachment( let { downloadPath } = attachment; const absoluteDownloadPath = downloadPath - ? window.Signal.Migrations.getAbsoluteAttachmentPath(downloadPath) + ? window.Signal.Migrations.getAbsoluteDownloadsPath(downloadPath) : undefined; let downloadOffset = 0;