mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-28 13:48:12 +00:00
Revert "Fix contact photo upload failure."
This reverts commit 06dc8ccbdd.
This commit is contained in:
committed by
Cody Henthorne
parent
61b97fd09b
commit
b5f82beb46
@@ -213,7 +213,6 @@ public final class AttachmentUploadJob extends BaseJob {
|
||||
.withCaption(attachment.getCaption())
|
||||
.withCancelationSignal(this::isCanceled)
|
||||
.withResumableUploadSpec(resumableUploadSpec)
|
||||
.withIncremental(attachment.getIncrementalDigest() != null)
|
||||
.withListener((total, progress) -> {
|
||||
EventBus.getDefault().postSticky(new PartProgressEvent(attachment, PartProgressEvent.Type.NETWORK, total, progress));
|
||||
if (notification != null) {
|
||||
|
||||
@@ -366,8 +366,7 @@ public abstract class PushSendJob extends SendJob {
|
||||
.withHeight(thumbnailData.getHeight())
|
||||
.withLength(thumbnailData.getData().length)
|
||||
.withStream(new ByteArrayInputStream(thumbnailData.getData()))
|
||||
.withResumableUploadSpec(ApplicationDependencies.getSignalServiceMessageSender().getResumableUploadSpec())
|
||||
.withIncremental(attachment.getIncrementalDigest() != null);
|
||||
.withResumableUploadSpec(ApplicationDependencies.getSignalServiceMessageSender().getResumableUploadSpec());
|
||||
|
||||
thumbnail = builder.build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user