From 33b8b59c5511835c270bbcf57453b91f0db1e762 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 6 Apr 2022 14:00:13 -0700 Subject: [PATCH] Another fix for single-sticker packs --- ts/types/Stickers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/types/Stickers.ts b/ts/types/Stickers.ts index c074a2649e..c945822aef 100644 --- a/ts/types/Stickers.ts +++ b/ts/types/Stickers.ts @@ -706,7 +706,7 @@ async function doDownloadStickerPack( }); const successfulStickerCount = jobResults.filter(item => item).length; - if (successfulStickerCount === 0) { + if (successfulStickerCount === 0 && nonCoverStickers.length !== 0) { throw new Error('doDownloadStickerPack: All stickers failed to download'); }