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:
parent
3a33d862c0
commit
f36f206a01
9 changed files with 32 additions and 24 deletions
|
@ -40,7 +40,7 @@ describe('Message', () => {
|
|||
}],
|
||||
hasAttachments: 1,
|
||||
hasVisualMediaAttachments: 1,
|
||||
hasFileAttachments: 0,
|
||||
hasFileAttachments: undefined,
|
||||
};
|
||||
|
||||
const actual = await Message.initializeAttachmentMetadata(input);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue