Cleanup after rotating images

This commit is contained in:
ayumi-signal 2024-01-04 11:34:53 -08:00 committed by GitHub
parent 238812382b
commit 0aad09682d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 1 deletions

View file

@ -247,6 +247,7 @@ export function initializeMigrations({
getImageDimensions,
makeImageThumbnail,
makeVideoScreenshot,
deleteOnDisk,
logger,
}),
processNewSticker: (stickerData: Uint8Array) =>
@ -282,6 +283,7 @@ export function initializeMigrations({
maxVersion,
getAbsoluteStickerPath,
writeNewStickerData,
deleteOnDisk,
});
},
writeMessageAttachments: MessageType.createAttachmentDataWriter({