mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Display proper text when quoting view once message
This commit is contained in:
@@ -149,6 +149,7 @@ export type PropsData = {
|
||||
authorName?: string;
|
||||
bodyRanges?: BodyRangesType;
|
||||
referencedMessageNotFound: boolean;
|
||||
isViewOnce: boolean;
|
||||
};
|
||||
previews: Array<LinkPreviewType>;
|
||||
isExpired?: boolean;
|
||||
@@ -1062,7 +1063,7 @@ export class Message extends React.Component<Props, State> {
|
||||
|
||||
const withContentAbove =
|
||||
conversationType === 'group' && direction === 'incoming';
|
||||
const { referencedMessageNotFound } = quote;
|
||||
const { isViewOnce, referencedMessageNotFound } = quote;
|
||||
|
||||
const clickHandler = disableScroll
|
||||
? undefined
|
||||
@@ -1087,6 +1088,7 @@ export class Message extends React.Component<Props, State> {
|
||||
bodyRanges={quote.bodyRanges}
|
||||
conversationColor={conversationColor}
|
||||
customColor={customColor}
|
||||
isViewOnce={isViewOnce}
|
||||
referencedMessageNotFound={referencedMessageNotFound}
|
||||
isFromMe={quote.isFromMe}
|
||||
withContentAbove={withContentAbove}
|
||||
|
||||
Reference in New Issue
Block a user