Import/export additional message flags
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
eb619350b3
commit
5b3509e34c
14 changed files with 85 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue