mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Create ImagePtr-s using a factory method.
This commit is contained in:
@@ -262,7 +262,10 @@ public:
|
||||
void photoConvert(
|
||||
not_null<PhotoData*> original,
|
||||
const MTPPhoto &data);
|
||||
PhotoData *photoFromWeb(const MTPWebDocument &data, ImagePtr thumb);
|
||||
PhotoData *photoFromWeb(
|
||||
const MTPWebDocument &data,
|
||||
ImagePtr thumb = ImagePtr(),
|
||||
bool willBecomeNormal = false);
|
||||
|
||||
not_null<DocumentData*> document(DocumentId id);
|
||||
not_null<DocumentData*> document(const MTPDocument &data);
|
||||
|
Reference in New Issue
Block a user