This commit is contained in:
Isaac
2025-09-30 21:52:21 +08:00
parent bdca60c3d0
commit 54d2b58eb3
5 changed files with 19 additions and 4 deletions

View File

@@ -5173,7 +5173,7 @@ class ChatControllerNode: ASDisplayNode, ASScrollViewDelegate {
}
func prepareSwitchToChatLocation(chatLocation: ChatLocation, historyNode: ChatHistoryListNodeImpl, animationDirection: ChatControllerAnimateInnerChatSwitchDirection?) {
self.chatLocation = historyNode.chatLocation
self.chatLocation = chatLocation
if historyNode === self.historyNode {
historyNode.updateChatLocation(chatLocation: chatLocation)
} else {