Deduplicate incoming stickers from installed sticker packs

This commit is contained in:
trevor-signal
2026-02-12 12:36:53 -05:00
committed by GitHub
parent 95f131efbf
commit ae90a74cef
8 changed files with 235 additions and 194 deletions

View File

@@ -137,12 +137,6 @@ export const getAbsoluteStickerPath = createAbsolutePathGetter(STICKERS_PATH);
export const writeNewStickerData = createEncryptedWriterForNew(STICKERS_PATH);
export const deleteSticker = createDeleter(STICKERS_PATH);
export const readStickerData = createEncryptedReader(STICKERS_PATH);
export const copyStickerIntoAttachmentsDirectory = copyIntoAttachmentsDirectory(
{
sourceDir: STICKERS_PATH,
targetDir: ATTACHMENTS_PATH,
}
);
export const getAbsoluteBadgeImageFilePath =
createAbsolutePathGetter(BADGES_PATH);