Enable forwarding of shared contacts

This commit is contained in:
Scott Nonnenberg 2024-06-24 10:58:59 -07:00 committed by GitHub
parent 08da49a0aa
commit 00bf642558
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,7 +100,6 @@ export function TimelineMessage(props: Props): JSX.Element {
canReply, canReply,
canRetry, canRetry,
canRetryDeleteForEveryone, canRetryDeleteForEveryone,
contact,
containerElementRef, containerElementRef,
containerWidthBreakpoint, containerWidthBreakpoint,
conversationId, conversationId,
@ -233,7 +232,7 @@ export function TimelineMessage(props: Props): JSX.Element {
const handleContextMenu = useHandleMessageContextMenu(menuTriggerRef); const handleContextMenu = useHandleMessageContextMenu(menuTriggerRef);
const canForward = const canForward =
!isTapToView && !deletedForEveryone && !giftBadge && !contact && !payment; !isTapToView && !deletedForEveryone && !giftBadge && !payment;
const shouldShowAdditional = const shouldShowAdditional =
doesMessageBodyOverflow(text || '') || !isWindowWidthNotNarrow; doesMessageBodyOverflow(text || '') || !isWindowWidthNotNarrow;