Disable forward for messages with embedded contact

This commit is contained in:
Scott Nonnenberg 2022-04-11 13:57:44 -07:00 committed by GitHub
parent 6d816d01ad
commit 7f89f6162f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 442 additions and 185 deletions

View file

@ -1710,6 +1710,7 @@ export class Message extends React.PureComponent<Props, State> {
const {
attachments,
canDownload,
contact,
canReact,
canReply,
canRetry,
@ -1729,7 +1730,7 @@ export class Message extends React.PureComponent<Props, State> {
text,
} = this.props;
const canForward = !isTapToView && !deletedForEveryone;
const canForward = !isTapToView && !deletedForEveryone && !contact;
const multipleAttachments = attachments && attachments.length > 1;
const shouldShowAdditional =