mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-23 03:06:21 +00:00
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
50 lines
979 B
Markdown
50 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>
|
|
```
|