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

Removed unnecessary making thumbnail of remoteContent.

This commit is contained in:
23rd
2019-04-04 10:11:50 +03:00
parent 78227cd947
commit 1da9bfc643

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);