Limit unnecessary thumbnail generation

This commit is contained in:
trevor-signal 2025-09-24 10:55:08 -04:00 committed by GitHub
commit 74e327a6c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 132 additions and 81 deletions

View file

@ -49,7 +49,7 @@ import type {
} from '../types/CallLink.js';
import type {
AttachmentDownloadJobType,
AttachmentDownloadJobTypeType,
MessageAttachmentType,
} from '../types/AttachmentDownload.js';
import type {
GroupSendEndorsementsData,
@ -651,7 +651,7 @@ export const MESSAGE_ATTACHMENT_COLUMNS = [
export type MessageAttachmentDBType = {
messageId: string;
attachmentType: AttachmentDownloadJobTypeType;
attachmentType: MessageAttachmentType;
orderInMessage: number;
editHistoryIndex: number | null;
conversationId: string;