Exclude quotes from backfills.

This commit is contained in:
Greyson Parrelli
2025-02-14 15:03:31 -05:00
parent 7650e8c4da
commit 9836185590
2 changed files with 2 additions and 2 deletions

View File

@@ -1682,7 +1682,7 @@ object SyncMessageProcessor {
return
}
val attachments: List<DatabaseAttachment> = SignalDatabase.attachments.getAttachmentsForMessage(messageId).sortedBy { it.displayOrder }
val attachments: List<DatabaseAttachment> = SignalDatabase.attachments.getAttachmentsForMessage(messageId).filterNot { it.quote }.sortedBy { it.displayOrder }
if (attachments.isEmpty()) {
warn(timestamp, "[AttachmentBackfillRequest] There were no attachments found for the message! Enqueuing a 'missing' response.")
MultiDeviceAttachmentBackfillMissingJob.enqueue(request.targetMessage!!, request.targetConversation!!)