Message: Fix broken UI for stickers sent via bot (#1469)
This commit is contained in:
parent
5b364441c4
commit
2f608b4705
@ -621,7 +621,7 @@ const Message: FC<OwnProps & StateProps & DispatchProps> = ({
|
|||||||
function renderSenderName() {
|
function renderSenderName() {
|
||||||
const shouldRender = !(customShape && !viaBotId) && (
|
const shouldRender = !(customShape && !viaBotId) && (
|
||||||
(withSenderName && !photo && !video) || asForwarded || viaBotId || forceSenderName
|
(withSenderName && !photo && !video) || asForwarded || viaBotId || forceSenderName
|
||||||
) && (!isInDocumentGroup || isFirstInDocumentGroup);
|
) && (!isInDocumentGroup || isFirstInDocumentGroup) && !(hasReply && customShape);
|
||||||
|
|
||||||
if (!shouldRender) {
|
if (!shouldRender) {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user