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

Support poll closing by date.

This commit is contained in:
John Preston
2020-04-07 16:10:34 +04:00
parent 6882093ed1
commit 3cb76fb80b
4 changed files with 53 additions and 3 deletions

View File

@@ -822,6 +822,8 @@ private:
void setWallpapers(const QVector<MTPWallPaper> &data, int32 hash);
void checkPollsClosings();
not_null<Main::Session*> _session;
Storage::DatabasePointer _cache;
@@ -943,6 +945,9 @@ private:
base::flat_set<not_null<GameData*>> _gamesUpdated;
base::flat_set<not_null<PollData*>> _pollsUpdated;
base::flat_multi_map<TimeId, not_null<PollData*>> _pollsClosings;
base::Timer _pollsClosingTimer;
base::flat_map<FolderId, std::unique_ptr<Folder>> _folders;
//rpl::variable<FeedId> _defaultFeedId = FeedId(); // #feed