2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Update API scheme on layer 135.

This commit is contained in:
John Preston
2021-11-19 23:04:40 +04:00
parent 7d89952541
commit 4f7c728632
19 changed files with 141 additions and 104 deletions

View File

@@ -2214,7 +2214,11 @@ void Updates::feedUpdate(const MTPUpdate &update) {
////// Cloud sticker sets
case mtpc_updateNewStickerSet: {
const auto &d = update.c_updateNewStickerSet();
session().data().stickers().newSetReceived(d.vstickerset());
d.vstickerset().match([&](const MTPDmessages_stickerSet &data) {
session().data().stickers().newSetReceived(data);
}, [](const MTPDmessages_stickerSetNotModified &) {
LOG(("API Error: Unexpected messages.stickerSetNotModified."));
});
} break;
case mtpc_updateStickerSetsOrder: {