Don't forget to cleanup in-memory sticker pack
This commit is contained in:
parent
d4a30a0165
commit
93f60ee5a6
4 changed files with 7 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue