Init payments message types

This commit is contained in:
Jamie Kyle
2022-11-30 13:47:54 -08:00
committed by GitHub
parent 0c4b52a125
commit 6198b02640
26 changed files with 741 additions and 185 deletions

View File

@@ -78,6 +78,7 @@ export function TimelineMessage(props: Props): JSX.Element {
canDeleteForEveryone,
canRetryDeleteForEveryone,
contact,
payment,
containerElementRef,
containerWidthBreakpoint,
deletedForEveryone,
@@ -210,7 +211,7 @@ export function TimelineMessage(props: Props): JSX.Element {
};
const canForward =
!isTapToView && !deletedForEveryone && !giftBadge && !contact;
!isTapToView && !deletedForEveryone && !giftBadge && !contact && !payment;
const shouldShowAdditional =
doesMessageBodyOverflow(text || '') || !isWindowWidthNotNarrow;