9fd867fdd1
* Add new requiredProtocolVersion field to DataMessage * Message.requiredProtocolVersion, warning if version mot supported * Update strings; limit width; new left pane preview text
69 lines
1.6 KiB
Markdown
69 lines
1.6 KiB
Markdown
### From someone in your contacts
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<UnsupportedMessage
|
|
i18n={util.i18n}
|
|
contact={{ phoneNumber: '(202) 500-1000', name: 'Alice' }}
|
|
downloadNewVersion={() => console.log('downloadNewVersion')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### After you upgrade
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<UnsupportedMessage
|
|
i18n={util.i18n}
|
|
canProcessNow={true}
|
|
contact={{ phoneNumber: '(202) 500-1000', name: 'Alice' }}
|
|
downloadNewVersion={() => console.log('downloadNewVersion')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### No name, just profile
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<UnsupportedMessage
|
|
i18n={util.i18n}
|
|
contact={{ phoneNumber: '(202) 500-1000', profileName: 'Mr. Fire' }}
|
|
downloadNewVersion={() => console.log('downloadNewVersion')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### From yourself
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<UnsupportedMessage
|
|
i18n={util.i18n}
|
|
contact={{
|
|
isMe: true,
|
|
phoneNumber: '(202) 500-1000',
|
|
profileName: 'Mr. Fire',
|
|
}}
|
|
downloadNewVersion={() => console.log('downloadNewVersion')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### From yourself, after you upgrade
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<UnsupportedMessage
|
|
i18n={util.i18n}
|
|
canProcessNow={true}
|
|
contact={{
|
|
isMe: true,
|
|
phoneNumber: '(202) 500-1000',
|
|
profileName: 'Mr. Fire',
|
|
}}
|
|
downloadNewVersion={() => console.log('downloadNewVersion')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|