2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Use simple loader for non-streamable file types.

This commit is contained in:
John Preston
2019-04-12 12:00:06 +04:00
parent e1114530ab
commit 8704f6efd0
6 changed files with 45 additions and 20 deletions

View File

@@ -249,6 +249,7 @@ private:
void destroyLoader(FileLoader *newValue = nullptr) const;
[[nodiscard]] bool useStreamingLoader() const;
[[nodiscard]] bool thumbnailEnoughForSticker() const;
// Two types of location: from MTProto by dc+access or from web by url