Import/export additional message flags

This commit is contained in:
Fedor Indutny 2024-06-13 16:26:26 -07:00 committed by GitHub
parent cf8023821c
commit de638fbc2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 85 additions and 2 deletions

View file

@ -363,4 +363,24 @@ describe('backup/bubble messages', () => {
},
]);
});
it('roundtrips sms messages', async () => {
await symmetricRoundtripHarness([
{
conversationId: contactA.id,
id: generateGuid(),
type: 'incoming',
received_at: 3,
received_at_ms: 3,
sent_at: 3,
timestamp: 3,
sourceServiceId: CONTACT_A,
body: 'd',
readStatus: ReadStatus.Unread,
seenStatus: SeenStatus.Unseen,
unidentifiedDeliveryReceived: true,
sms: true,
},
]);
});
});