mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow photos not have some of the thumbnails.
This commit is contained in:
@@ -487,8 +487,7 @@ public:
|
||||
const MTPPhoto &data);
|
||||
[[nodiscard]] PhotoData *photoFromWeb(
|
||||
const MTPWebDocument &data,
|
||||
const ImageLocation &thumbnailLocation = ImageLocation(),
|
||||
bool willBecomeNormal = false);
|
||||
const ImageLocation &thumbnailLocation);
|
||||
|
||||
[[nodiscard]] not_null<DocumentData*> document(DocumentId id);
|
||||
not_null<DocumentData*> processDocument(const MTPDocument &data);
|
||||
|
Reference in New Issue
Block a user