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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user