mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Simplify playing video tracking (and fix a crash).
This commit is contained in:
@@ -613,10 +613,7 @@ public:
|
||||
UserId contactId,
|
||||
not_null<HistoryItem*> item);
|
||||
|
||||
void registerPlayingVideoFile(not_null<ViewElement*> view);
|
||||
void unregisterPlayingVideoFile(not_null<ViewElement*> view);
|
||||
void checkPlayingVideoFiles();
|
||||
void stopPlayingVideoFiles();
|
||||
void checkPlayingAnimations();
|
||||
|
||||
HistoryItem *findWebPageItem(not_null<WebPageData*> page) const;
|
||||
QString findContactPhone(not_null<UserData*> contact) const;
|
||||
@@ -958,7 +955,6 @@ private:
|
||||
std::unordered_map<
|
||||
UserId,
|
||||
base::flat_set<not_null<ViewElement*>>> _contactViews;
|
||||
base::flat_map<not_null<ViewElement*>, int> _playingVideoFiles;
|
||||
|
||||
base::flat_set<not_null<WebPageData*>> _webpagesUpdated;
|
||||
base::flat_set<not_null<GameData*>> _gamesUpdated;
|
||||
|
Reference in New Issue
Block a user