mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-24 03:35:58 +00:00
Skip attachment template if digest is null.
This commit is contained in:
@@ -1274,6 +1274,7 @@ public class AttachmentDatabase extends Database {
|
||||
boolean useTemplateUpload = template.getUploadTimestamp() > attachment.getUploadTimestamp() &&
|
||||
template.getTransferState() == TRANSFER_PROGRESS_DONE &&
|
||||
template.getTransformProperties().shouldSkipTransform() &&
|
||||
template.getDigest() != null &&
|
||||
!attachment.getTransformProperties().isVideoEdited();
|
||||
|
||||
ContentValues contentValues = new ContentValues();
|
||||
|
||||
Reference in New Issue
Block a user