diff --git a/js/modules/stickers.js b/js/modules/stickers.js index 91ca64f8d8..d4faac7266 100644 --- a/js/modules/stickers.js +++ b/js/modules/stickers.js @@ -693,7 +693,7 @@ async function deletePackReference(messageId, packId) { const paths = await deleteStickerPackReference(messageId, packId); // If we don't get a list of paths back, then the sticker pack was not deleted - if (!paths) { + if (!paths || !paths.length) { return; }