Removed unnecessary making thumbnail of remoteContent.

This commit is contained in:
23rd 2019-04-04 10:11:50 +03:00
parent 78227cd947
commit 1da9bfc643
1 changed files with 1 additions and 5 deletions

View File

@ -416,12 +416,8 @@ void EditCaptionBox::createEditMediaButton() {
return;
}
auto image = Media::Clip::PrepareForSending(
QString(),
result.remoteContent
).thumbnail;
auto list = Storage::PrepareMediaFromImage(
std::move(image),
QImage(),
std::move(result.remoteContent),
st::sendMediaPreviewSize);