mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix sending modified photos with existing bytes.
This commit is contained in:
parent
507a064153
commit
7d1cc67019
1 changed files with 2 additions and 3 deletions
|
@ -361,9 +361,8 @@ bool ApplyModifications(PreparedList &list) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
applied = true;
|
applied = true;
|
||||||
if (!file.path.isEmpty()) {
|
file.path = QString();
|
||||||
file.path = QString();
|
file.content = QByteArray();
|
||||||
}
|
|
||||||
image->data = Editor::ImageModified(
|
image->data = Editor::ImageModified(
|
||||||
std::move(image->data),
|
std::move(image->data),
|
||||||
image->modifications);
|
image->modifications);
|
||||||
|
|
Loading…
Add table
Reference in a new issue