Fix single sticker stickerpack download
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
b066d04817
commit
4975d97f35
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue