Replies: Fix opening comments (#5626)
This commit is contained in:
parent
f8d0eb7311
commit
d946547cc3
@ -196,11 +196,20 @@ export default function useInnerHandlers({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (replyToPeerId && replyToTopId) {
|
if (replyToPeerId && replyToTopId) {
|
||||||
focusMessage({
|
if (isRepliesChat) {
|
||||||
chatId: replyToPeerId,
|
openThread({
|
||||||
threadId: replyToTopId,
|
isComments: true,
|
||||||
messageId: forwardInfo!.fromMessageId!,
|
originChannelId: replyToPeerId,
|
||||||
});
|
originMessageId: replyToTopId,
|
||||||
|
focusMessageId: forwardInfo!.fromMessageId!,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
focusMessage({
|
||||||
|
chatId: replyToPeerId,
|
||||||
|
threadId: replyToTopId,
|
||||||
|
messageId: forwardInfo!.fromMessageId!,
|
||||||
|
});
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
focusMessage({
|
focusMessage({
|
||||||
chatId: originalChatId, messageId: forwardInfo!.fromMessageId!,
|
chatId: originalChatId, messageId: forwardInfo!.fromMessageId!,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user