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

Move automaticLoad() to DocumentMedia.

This commit is contained in:
John Preston
2020-04-10 18:19:43 +04:00
parent 40f12a2584
commit 1e9c79ca85
11 changed files with 72 additions and 60 deletions

View File

@@ -38,6 +38,8 @@ public:
[[nodiscard]] float64 progress() const;
[[nodiscard]] bool canBePlayed() const;
void automaticLoad(Data::FileOrigin origin, const HistoryItem *item);
// For DocumentData.
static void CheckGoodThumbnail(not_null<DocumentData*> document);