Do not display call buttons for SMS-only convo

This commit is contained in:
Fedor Indutny 2021-05-25 15:30:57 -07:00 committed by GitHub
parent 07a0a6da22
commit d8417e562b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -188,6 +188,19 @@ const stories: Array<ConversationHeaderStory> = [
muteExpiresAt: new Date('3000-10-18T11:11:11Z').valueOf(),
},
},
{
title: 'SMS-only conversation',
props: {
...commonProps,
color: 'ultramarine',
title: '(202) 555-0006',
phoneNumber: '(202) 555-0006',
type: 'direct',
id: '6',
acceptedMessageRequest: true,
isSMSOnly: true,
},
},
],
},
{