mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +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;
|
||||
}
|
||||
applied = true;
|
||||
if (!file.path.isEmpty()) {
|
||||
file.path = QString();
|
||||
}
|
||||
file.path = QString();
|
||||
file.content = QByteArray();
|
||||
image->data = Editor::ImageModified(
|
||||
std::move(image->data),
|
||||
image->modifications);
|
||||
|
|
Loading…
Add table
Reference in a new issue