Skip to content

getFileMetadataByMessageIds

const getFileMetadataByMessageIds: (messageIds) => Promise<StoredFile[]> = sqliteRepo.getFileMetadataByMessageIds

Defined in: src/lib/repositories/chat-history.ts:52

The same rows as getFilesByMessageIds with data left in the file.

Opening a chat needs to know which images a message carries, not their bytes: reading every blob in the window before the first paint moved tens of megabytes through the owner and the page for pictures nobody had scrolled to.

number[]

Promise<StoredFile[]>