Improve recovery from corrupted downloads

This commit is contained in:
trevor-signal
2025-02-25 14:18:34 -05:00
committed by GitHub
parent a46a4a67b9
commit 572849b9dd
3 changed files with 21 additions and 10 deletions

View File

@@ -134,7 +134,9 @@ describe('utils/ensureAttachmentIsReencryptable', async () => {
after(async () => {
if (path) {
await safeUnlink(path);
await safeUnlink(
window.Signal.Migrations.getAbsoluteAttachmentPath(path)
);
}
});