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
49 lines
979 B
Markdown
49 lines
979 B
Markdown
### Marking as verified
|
|
|
|
```js
|
|
<util.ConversationContext theme={util.theme}>
|
|
<VerificationNotification
|
|
type="markVerified"
|
|
isLocal={true}
|
|
contact={{
|
|
phoneNumber: '(202) 555-0003',
|
|
profileName: 'Mr. Fire',
|
|
}}
|
|
i18n={util.i18n}
|
|
/>
|
|
<VerificationNotification
|
|
type="markVerified"
|
|
isLocal={false}
|
|
contact={{
|
|
phoneNumber: '(202) 555-0003',
|
|
profileName: 'Mr. Fire',
|
|
}}
|
|
i18n={util.i18n}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### Marking as not verified
|
|
|
|
```js
|
|
<util.ConversationContext theme={util.theme}>
|
|
<VerificationNotification
|
|
type="markNotVerified"
|
|
isLocal={true}
|
|
contact={{
|
|
phoneNumber: '(202) 555-0003',
|
|
profileName: 'Mr. Fire',
|
|
}}
|
|
i18n={util.i18n}
|
|
/>
|
|
<VerificationNotification
|
|
type="markNotVerified"
|
|
isLocal={false}
|
|
contact={{
|
|
phoneNumber: '(202) 555-0003',
|
|
profileName: 'Mr. Fire',
|
|
}}
|
|
i18n={util.i18n}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|