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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 9 deletions

View file

@ -1497,9 +1497,7 @@ async function addStickerPackReference(messageId: string, packId: string) {
await channels.addStickerPackReference(messageId, packId);
}
async function deleteStickerPackReference(messageId: string, packId: string) {
const paths = await channels.deleteStickerPackReference(messageId, packId);
return paths;
return channels.deleteStickerPackReference(messageId, packId);
}
async function deleteStickerPack(packId: string) {
const paths = await channels.deleteStickerPack(packId);