mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Fix replying to non-media.
This commit is contained in:
@@ -270,12 +270,13 @@ public abstract class PushSendJob extends SendJob {
|
||||
.toList());
|
||||
|
||||
if (message.getOutgoingQuote() != null && message.getOutgoingQuote().getAttachment() != null) {
|
||||
AttachmentId attachmentId = ((DatabaseAttachment) message.getOutgoingQuote().getAttachment()).attachmentId;
|
||||
AttachmentUploadJob quoteUploadJob = new AttachmentUploadJob(attachmentId);
|
||||
AttachmentId attachmentId = ((DatabaseAttachment) message.getOutgoingQuote().getAttachment()).attachmentId;
|
||||
|
||||
jobManager.add(quoteUploadJob);
|
||||
|
||||
jobs.add(quoteUploadJob.getId());
|
||||
if (SignalDatabase.attachments().hasData(attachmentId)) {
|
||||
AttachmentUploadJob quoteUploadJob = new AttachmentUploadJob(attachmentId);
|
||||
jobManager.add(quoteUploadJob);
|
||||
jobs.add(quoteUploadJob.getId());
|
||||
}
|
||||
}
|
||||
|
||||
return jobs;
|
||||
|
||||
Reference in New Issue
Block a user