Message Title: Fix render sender name (#5235)

This commit is contained in:
Alexander Zinchuk 2024-11-27 20:33:53 +04:00
parent 1e8289c3ac
commit 11f3fee090

View File

@ -1473,7 +1473,7 @@ const Message: FC<OwnProps & StateProps> = ({
const media = photo || video || location || paidMedia;
return !(isCustomShape && !viaBotId) && (
(withSenderName && (!media || hasTopicChip)) || asForwarded || viaBotId || forceSenderName
) && !isInDocumentGroupNotFirst && !(hasMessageReply && isCustomShape) && !hasSubheader;
) && !isInDocumentGroupNotFirst && !(hasMessageReply && isCustomShape);
}
function renderForwardTitle() {