mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Render disappearing message countdown even if deleted for everyone
This commit is contained in:
@@ -587,6 +587,7 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
const {
|
||||
attachments,
|
||||
collapseMetadata,
|
||||
deletedForEveryone,
|
||||
direction,
|
||||
expirationLength,
|
||||
expirationTimestamp,
|
||||
@@ -613,6 +614,7 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
|
||||
return (
|
||||
<MessageMetadata
|
||||
deletedForEveryone={deletedForEveryone}
|
||||
direction={direction}
|
||||
expirationLength={expirationLength}
|
||||
expirationTimestamp={expirationTimestamp}
|
||||
@@ -2080,7 +2082,12 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
const { isTapToView, deletedForEveryone } = this.props;
|
||||
|
||||
if (deletedForEveryone) {
|
||||
return this.renderText();
|
||||
return (
|
||||
<>
|
||||
{this.renderText()}
|
||||
{this.renderMetadata()}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
if (isTapToView) {
|
||||
|
||||
Reference in New Issue
Block a user