Enable forwarding of shared contacts

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2024-06-24 15:19:17 -05:00 committed by GitHub
parent bd215a766b
commit 5efd982a48
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;