9fd867fdd1
* Add new requiredProtocolVersion field to DataMessage * Message.requiredProtocolVersion, warning if version mot supported * Update strings; limit width; new left pane preview text
1.6 KiB
1.6 KiB
From someone in your contacts
<util.ConversationContext theme={util.theme}>
<UnsupportedMessage
i18n={util.i18n}
contact={{ phoneNumber: '(202) 500-1000', name: 'Alice' }}
downloadNewVersion={() => console.log('downloadNewVersion')}
/>
</util.ConversationContext>
After you upgrade
<util.ConversationContext theme={util.theme}>
<UnsupportedMessage
i18n={util.i18n}
canProcessNow={true}
contact={{ phoneNumber: '(202) 500-1000', name: 'Alice' }}
downloadNewVersion={() => console.log('downloadNewVersion')}
/>
</util.ConversationContext>
No name, just profile
<util.ConversationContext theme={util.theme}>
<UnsupportedMessage
i18n={util.i18n}
contact={{ phoneNumber: '(202) 500-1000', profileName: 'Mr. Fire' }}
downloadNewVersion={() => console.log('downloadNewVersion')}
/>
</util.ConversationContext>
From yourself
<util.ConversationContext theme={util.theme}>
<UnsupportedMessage
i18n={util.i18n}
contact={{
isMe: true,
phoneNumber: '(202) 500-1000',
profileName: 'Mr. Fire',
}}
downloadNewVersion={() => console.log('downloadNewVersion')}
/>
</util.ConversationContext>
From yourself, after you upgrade
<util.ConversationContext theme={util.theme}>
<UnsupportedMessage
i18n={util.i18n}
canProcessNow={true}
contact={{
isMe: true,
phoneNumber: '(202) 500-1000',
profileName: 'Mr. Fire',
}}
downloadNewVersion={() => console.log('downloadNewVersion')}
/>
</util.ConversationContext>