Import/export additional message flags

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-06-13 18:51:02 -05:00 committed by GitHub
parent eb619350b3
commit 5b3509e34c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 85 additions and 2 deletions

View file

@ -27,6 +27,7 @@ type PropsType = {
i18n: LocalizerType;
id: string;
isEditedMessage?: boolean;
isSMS?: boolean;
isInline?: boolean;
isOutlineOnlyBubble?: boolean;
isShowingImage: boolean;
@ -56,6 +57,7 @@ export const MessageMetadata = forwardRef<HTMLDivElement, Readonly<PropsType>>(
i18n,
id,
isEditedMessage,
isSMS,
isOutlineOnlyBubble,
isInline,
isShowingImage,
@ -211,6 +213,11 @@ export const MessageMetadata = forwardRef<HTMLDivElement, Readonly<PropsType>>(
</button>
)}
{timestampNode}
{isSMS ? (
<div
className={`module-message__metadata__sms module-message__metadata__sms--${direction}`}
/>
) : null}
{expirationLength ? (
<ExpireTimer
direction={metadataDirection}