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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;