Don't forget to cleanup in-memory sticker pack

This commit is contained in:
Fedor Indutny
2021-07-29 11:59:26 -07:00
committed by GitHub
parent d4a30a0165
commit 93f60ee5a6
4 changed files with 7 additions and 9 deletions

View File

@@ -796,7 +796,7 @@ export async function deletePackReference(
const paths = await Data.deleteStickerPackReference(messageId, packId);
// If we don't get a list of paths back, then the sticker pack was not deleted
if (!paths || !paths.length) {
if (!paths) {
return;
}