Fix getNextAttachmentDownloadJobs query

This commit is contained in:
trevor-signal
2025-03-11 15:25:30 -04:00
committed by GitHub
parent 0eb697fa82
commit b164bc6128

View File

@@ -78,7 +78,6 @@ import {
} from './util';
import { hydrateMessage } from './hydration';
import { getAttachmentCiphertextLength } from '../AttachmentCrypto';
import { SeenStatus } from '../MessageSeenStatus';
import {
attachmentBackupJobSchema,
@@ -5025,9 +5024,6 @@ function getNextAttachmentDownloadJobs(
...row,
active: Boolean(row.active),
attachment: jsonToObject(row.attachmentJson),
ciphertextSize:
row.ciphertextSize ||
getAttachmentCiphertextLength(row.attachment.size),
} as unknown);
} catch (error) {
logger.error(