Message: Fix load old reply with quote (#5892)
This commit is contained in:
parent
91d91d1e85
commit
b8b60b5568
@ -735,7 +735,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
const text = textMessage && getMessageContent(textMessage).text;
|
const text = textMessage && getMessageContent(textMessage).text;
|
||||||
const isInvertedMedia = Boolean(message.isInvertedMedia);
|
const isInvertedMedia = Boolean(message.isInvertedMedia);
|
||||||
|
|
||||||
const { replyToMsgId, replyToPeerId, isQuote } = messageReplyInfo || {};
|
const { replyToMsgId, replyToPeerId } = messageReplyInfo || {};
|
||||||
const { peerId: storyReplyPeerId, storyId: storyReplyId } = storyReplyInfo || {};
|
const { peerId: storyReplyPeerId, storyId: storyReplyId } = storyReplyInfo || {};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -836,7 +836,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
replyToMsgId,
|
replyToMsgId,
|
||||||
replyMessage,
|
replyMessage,
|
||||||
message.id,
|
message.id,
|
||||||
shouldHideReply || isQuote || isReplyPrivate,
|
shouldHideReply || isReplyPrivate,
|
||||||
);
|
);
|
||||||
|
|
||||||
useEnsureStory(
|
useEnsureStory(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user