diff --git a/ts/sql/Server.ts b/ts/sql/Server.ts index bf200557f9..bb15f4d795 100644 --- a/ts/sql/Server.ts +++ b/ts/sql/Server.ts @@ -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(