Fix single sticker stickerpack download

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2022-04-01 10:48:05 -07:00 committed by GitHub
parent b066d04817
commit 4975d97f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {