mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
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() {
|
||||
const shouldRender = !(customShape && !viaBotId) && (
|
||||
(withSenderName && !photo && !video) || asForwarded || viaBotId || forceSenderName
|
||||
) && (!isInDocumentGroup || isFirstInDocumentGroup);
|
||||
) && (!isInDocumentGroup || isFirstInDocumentGroup) && !(hasReply && customShape);
|
||||
|
||||
if (!shouldRender) {
|
||||
return undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user