Render disappearing message countdown even if deleted for everyone

This commit is contained in:
Scott Nonnenberg 2021-09-10 07:23:04 -07:00 committed by GitHub
parent c7e7d55af4
commit 6efb6da937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 2 deletions

View file

@ -480,6 +480,19 @@ story.add('Deleted', () => {
return renderBothDirections(props);
});
story.add('Deleted with expireTimer', () => {
const props = createProps({
timestamp: Date.now() - 60 * 1000,
conversationType: 'group',
deletedForEveryone: true,
expirationLength: 5 * 60 * 1000,
expirationTimestamp: Date.now() + 3 * 60 * 1000,
status: 'sent',
});
return renderBothDirections(props);
});
story.add('Can delete for everyone', () => {
const props = createProps({
status: 'read',