mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
Finish new Message component, integrate into application
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
This commit is contained in:
49
ts/components/conversation/VerificationNotification.md
Normal file
49
ts/components/conversation/VerificationNotification.md
Normal file
@@ -0,0 +1,49 @@
|
||||
### 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>
|
||||
```
|
||||
Reference in New Issue
Block a user