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) {
|
||||
focusMessage({
|
||||
chatId: replyToPeerId,
|
||||
threadId: replyToTopId,
|
||||
messageId: forwardInfo!.fromMessageId!,
|
||||
});
|
||||
if (isRepliesChat) {
|
||||
openThread({
|
||||
isComments: true,
|
||||
originChannelId: replyToPeerId,
|
||||
originMessageId: replyToTopId,
|
||||
focusMessageId: forwardInfo!.fromMessageId!,
|
||||
});
|
||||
} else {
|
||||
focusMessage({
|
||||
chatId: replyToPeerId,
|
||||
threadId: replyToTopId,
|
||||
messageId: forwardInfo!.fromMessageId!,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
focusMessage({
|
||||
chatId: originalChatId, messageId: forwardInfo!.fromMessageId!,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user