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

Allow photos not have some of the thumbnails.

This commit is contained in:
John Preston
2020-05-26 14:13:32 +04:00
parent e27d2bc2d5
commit 7ad660a0e7
18 changed files with 233 additions and 363 deletions

View File

@@ -210,12 +210,6 @@ ImagePtr Create(
std::move(image))));
}
ImagePtr Create(int width, int height) {
return ImagePtr(new Image(std::make_unique<DelayedStorageSource>(
width,
height)));
}
template <typename SourceType>
ImagePtr Create(
const StorageImageLocation &location,