mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-10 11:28:34 +00:00
Fix issue with editing and forwarding a received video.
This commit is contained in:
parent
eca67b1204
commit
9705939489
@ -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);
|
||||
|
@ -1278,7 +1278,8 @@ public class SignalServiceMessageSender {
|
||||
.setContentType(attachment.getContentType())
|
||||
.setKey(ByteString.copyFrom(attachment.getKey()))
|
||||
.setDigest(ByteString.copyFrom(attachment.getDigest().get()))
|
||||
.setSize(attachment.getSize().get());
|
||||
.setSize(attachment.getSize().get())
|
||||
.setUploadTimestamp(attachment.getUploadTimestamp());
|
||||
|
||||
if (attachment.getRemoteId().getV2().isPresent()) {
|
||||
builder.setCdnId(attachment.getRemoteId().getV2().get());
|
||||
|
Loading…
x
Reference in New Issue
Block a user