Remove autoOrientJPEG and consolidate downscaling logic

This commit is contained in:
trevor-signal
2024-03-06 16:49:21 -05:00
committed by GitHub
parent 3eed6cb350
commit 09b5e6ef50
10 changed files with 105 additions and 144 deletions

View File

@@ -135,10 +135,7 @@ export async function handleEditMessage(
}
const upgradedEditedMessageData =
await window.Signal.Migrations.upgradeMessageSchema(
editAttributes.message,
{ keepOnDisk: true }
);
await window.Signal.Migrations.upgradeMessageSchema(editAttributes.message);
// Copies over the attachments from the main message if they're the same
// and they have already been downloaded.