mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Use IndexablePresence for hasFileAttachments and hasVisualMediaAttachments
Reduces index size, makes it easier to debug using IndexedDB inspector, and hopefully improves lookup performance.
This commit is contained in:
@@ -182,7 +182,7 @@ describe('Message', () => {
|
||||
size: 1111,
|
||||
}],
|
||||
hasAttachments: 1,
|
||||
hasVisualMediaAttachments: 0,
|
||||
hasVisualMediaAttachments: undefined,
|
||||
hasFileAttachments: 1,
|
||||
schemaVersion: Message.CURRENT_SCHEMA_VERSION,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user