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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user