kopia lustrzana https://github.com/ryukoposting/Signal-Android
Skip attachment template if digest is null.
rodzic
62d85e6878
commit
ade6f60e76
|
@ -1274,6 +1274,7 @@ public class AttachmentDatabase extends Database {
|
||||||
boolean useTemplateUpload = template.getUploadTimestamp() > attachment.getUploadTimestamp() &&
|
boolean useTemplateUpload = template.getUploadTimestamp() > attachment.getUploadTimestamp() &&
|
||||||
template.getTransferState() == TRANSFER_PROGRESS_DONE &&
|
template.getTransferState() == TRANSFER_PROGRESS_DONE &&
|
||||||
template.getTransformProperties().shouldSkipTransform() &&
|
template.getTransformProperties().shouldSkipTransform() &&
|
||||||
|
template.getDigest() != null &&
|
||||||
!attachment.getTransformProperties().isVideoEdited();
|
!attachment.getTransformProperties().isVideoEdited();
|
||||||
|
|
||||||
ContentValues contentValues = new ContentValues();
|
ContentValues contentValues = new ContentValues();
|
||||||
|
|
Ładowanie…
Reference in New Issue