9fd867fdd1
* Add new requiredProtocolVersion field to DataMessage * Message.requiredProtocolVersion, warning if version mot supported * Update strings; limit width; new left pane preview text
25 lines
613 B
Markdown
25 lines
613 B
Markdown
### In group conversation
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<SafetyNumberNotification
|
|
i18n={util.i18n}
|
|
isGroup={true}
|
|
contact={{ phoneNumber: '(202) 500-1000', profileName: 'Mr. Fire' }}
|
|
onVerify={() => console.log('onVerify')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### In one-on-one conversation
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<SafetyNumberNotification
|
|
i18n={util.i18n}
|
|
isGroup={false}
|
|
contact={{ phoneNumber: '(202) 500-1000', profileName: 'Mr. Fire' }}
|
|
onVerify={() => console.log('onVerify')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|