2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Allow to load video components of photos.

This commit is contained in:
John Preston
2020-07-03 12:42:09 +04:00
parent 1a9c241b96
commit 0126578dbd
9 changed files with 151 additions and 13 deletions

View File

@@ -403,7 +403,8 @@ public:
const QByteArray &inlineThumbnailBytes,
const ImageWithLocation &small,
const ImageWithLocation &thumbnail,
const ImageWithLocation &large);
const ImageWithLocation &large,
const ImageWithLocation &video);
void photoConvert(
not_null<PhotoData*> original,
const MTPPhoto &data);
@@ -671,7 +672,8 @@ private:
const QByteArray &inlineThumbnailBytes,
const ImageWithLocation &small,
const ImageWithLocation &thumbnail,
const ImageWithLocation &large);
const ImageWithLocation &large,
const ImageWithLocation &video);
void documentApplyFields(
not_null<DocumentData*> document,