From 140d19beb17819b605c499f42a3745130cc07b46 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Thu, 31 Mar 2022 18:07:30 -0700 Subject: [PATCH] Fix single sticker stickerpack download --- 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 76131751f50..c074a2649e9 100644 --- a/ts/types/Stickers.ts +++ b/ts/types/Stickers.ts @@ -478,7 +478,7 @@ export async function downloadEphemeralPack( }); const successfulStickerCount = jobResults.filter(item => item).length; - if (successfulStickerCount === 0) { + if (successfulStickerCount === 0 && nonCoverStickers.length !== 0) { throw new Error('downloadEphemeralPack: All stickers failed to download'); } } catch (error) {