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

Implement progressive jpeg loading and sending.

This commit is contained in:
John Preston
2020-08-26 17:28:56 +04:00
parent 0888901d79
commit 437c9320cd
22 changed files with 201 additions and 96 deletions

View File

@@ -1013,6 +1013,7 @@ void DocumentData::save(
&session(),
_urlLocation,
size,
size,
fromCloud,
autoLoading,
cacheTag());
@@ -1039,6 +1040,7 @@ void DocumentData::save(
locationType(),
toFile,
size,
size,
(saveToCache() ? LoadToCacheAsWell : LoadToFileOnly),
fromCloud,
autoLoading,