2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Saving featured stickers for new 0.9.57 version in local storage.

This commit is contained in:
John Preston
2016-06-27 19:25:21 +03:00
parent a89185565a
commit 991c6ddd99
24 changed files with 578 additions and 120 deletions

View File

@@ -560,6 +560,9 @@ struct Data {
Stickers::Sets StickerSets;
Stickers::Order StickerSetsOrder;
uint64 LastStickersUpdate = 0;
Stickers::Order FeaturedStickerSetsOrder;
Stickers::UnreadMap FeaturedUnreadSets;
uint64 LastFeaturedStickersUpdate = 0;
MTP::DcOptions DcOptions;
@@ -626,6 +629,9 @@ DefineRefVar(Global, PendingItemsMap, PendingRepaintItems);
DefineVar(Global, Stickers::Sets, StickerSets);
DefineVar(Global, Stickers::Order, StickerSetsOrder);
DefineVar(Global, uint64, LastStickersUpdate);
DefineVar(Global, Stickers::Order, FeaturedStickerSetsOrder);
DefineVar(Global, Stickers::UnreadMap, FeaturedUnreadSets);
DefineVar(Global, uint64, LastFeaturedStickersUpdate);
DefineVar(Global, MTP::DcOptions, DcOptions);