signal-desktop/ts/components/conversation/SafetyNumberNotification.md
Scott Nonnenberg 9fd867fdd1 Support new 'requiredProtocolVersion' in DataMessage
* Add new requiredProtocolVersion field to DataMessage

* Message.requiredProtocolVersion, warning if version mot supported

* Update strings; limit width; new left pane preview text
2019-06-10 17:40:02 -04:00

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>
```