signal-desktop/ts/components/conversation/UnsupportedMessage.md
Scott Nonnenberg 9fd867fdd1 Support new 'requiredProtocolVersion' in DataMessage
* Add new requiredProtocolVersion field to DataMessage

* Message.requiredProtocolVersion, warning if version mot supported

* Update strings; limit width; new left pane preview text
2019-06-10 17:40:02 -04:00

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>