2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Show video userpics in media viewer.

This commit is contained in:
John Preston
2020-07-03 14:48:55 +04:00
parent 0126578dbd
commit 8c45b5e0f8
15 changed files with 402 additions and 131 deletions

View File

@@ -404,7 +404,8 @@ public:
const ImageWithLocation &small,
const ImageWithLocation &thumbnail,
const ImageWithLocation &large,
const ImageWithLocation &video);
const ImageWithLocation &video,
crl::time videoStartTime);
void photoConvert(
not_null<PhotoData*> original,
const MTPPhoto &data);
@@ -673,7 +674,8 @@ private:
const ImageWithLocation &small,
const ImageWithLocation &thumbnail,
const ImageWithLocation &large,
const ImageWithLocation &video);
const ImageWithLocation &video,
crl::time videoStartTime);
void documentApplyFields(
not_null<DocumentData*> document,