mirror of https://github.com/procxx/kepka.git
Removed unnecessary making thumbnail of remoteContent.
This commit is contained in:
parent
78227cd947
commit
1da9bfc643
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue