Fix issue with editing and forwarding a received video.

This commit is contained in:
Greyson Parrelli
2020-05-04 09:41:27 -04:00
parent eca67b1204
commit 9705939489
2 changed files with 4 additions and 2 deletions

View File

@@ -1196,7 +1196,8 @@ public class AttachmentDatabase extends Database {
boolean useTemplateUpload = template.getUploadTimestamp() > attachment.getUploadTimestamp() &&
template.getTransferState() == TRANSFER_PROGRESS_DONE &&
template.getTransformProperties().shouldSkipTransform();
template.getTransformProperties().shouldSkipTransform() &&
!attachment.getTransformProperties().isVideoEdited();
ContentValues contentValues = new ContentValues();
contentValues.put(MMS_ID, mmsId);