Message Title: Fix render sender name (#5235)
This commit is contained in:
parent
1e8289c3ac
commit
11f3fee090
@ -1473,7 +1473,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
const media = photo || video || location || paidMedia;
|
const media = photo || video || location || paidMedia;
|
||||||
return !(isCustomShape && !viaBotId) && (
|
return !(isCustomShape && !viaBotId) && (
|
||||||
(withSenderName && (!media || hasTopicChip)) || asForwarded || viaBotId || forceSenderName
|
(withSenderName && (!media || hasTopicChip)) || asForwarded || viaBotId || forceSenderName
|
||||||
) && !isInDocumentGroupNotFirst && !(hasMessageReply && isCustomShape) && !hasSubheader;
|
) && !isInDocumentGroupNotFirst && !(hasMessageReply && isCustomShape);
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderForwardTitle() {
|
function renderForwardTitle() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user