2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added support updateNewStickerSet and updateStickerSets for masks.

This commit is contained in:
23rd
2021-03-29 19:36:03 +03:00
parent abe62475cb
commit 8e08f69508
2 changed files with 4 additions and 3 deletions

View File

@@ -2176,8 +2176,11 @@ void Updates::feedUpdate(const MTPUpdate &update) {
} break;
case mtpc_updateStickerSets: {
// Can't determine is it masks or stickers, so update both.
session().data().stickers().setLastUpdate(0);
session().api().updateStickers();
session().data().stickers().setLastMasksUpdate(0);
session().api().updateMasks();
} break;
case mtpc_updateRecentStickers: {