Message: Fix load old reply with quote (#5892)

This commit is contained in:
Alexander Zinchuk 2025-05-14 19:02:01 +03:00
parent 91d91d1e85
commit b8b60b5568

View File

@ -735,7 +735,7 @@ const Message: FC<OwnProps & StateProps> = ({
const text = textMessage && getMessageContent(textMessage).text;
const isInvertedMedia = Boolean(message.isInvertedMedia);
const { replyToMsgId, replyToPeerId, isQuote } = messageReplyInfo || {};
const { replyToMsgId, replyToPeerId } = messageReplyInfo || {};
const { peerId: storyReplyPeerId, storyId: storyReplyId } = storyReplyInfo || {};
useEffect(() => {
@ -836,7 +836,7 @@ const Message: FC<OwnProps & StateProps> = ({
replyToMsgId,
replyMessage,
message.id,
shouldHideReply || isQuote || isReplyPrivate,
shouldHideReply || isReplyPrivate,
);
useEnsureStory(