3c69886320
Also: - New schema version 8 with video/image thumbnails, screenshots, sizes - Upgrade messages not at current schema version when loading messages to show in conversation - New MessageDetail react component - New ConversationHeader react component
25 lines
611 B
Markdown
25 lines
611 B
Markdown
### In group conversation
|
|
|
|
```js
|
|
<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
|
|
|
|
```js
|
|
<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>
|
|
```
|