mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Bot forums v2
This commit is contained in:
@@ -166,16 +166,6 @@ extension ChatControllerImpl {
|
||||
return
|
||||
}
|
||||
|
||||
if let historyNodeData = contentData.state.historyNodeData {
|
||||
self.subject = nil
|
||||
self.updateChatLocationToOther(chatLocation: historyNodeData.chatLocation)
|
||||
return
|
||||
} else if case let .botForumThread(linkedForumId, threadId) = self.subject {
|
||||
self.subject = nil
|
||||
self.updateInitialChatBotForumLocationThread(linkedForumId: linkedForumId, threadId: threadId)
|
||||
return
|
||||
}
|
||||
|
||||
apply({ [weak self, weak contentData] forceAnimationTransition in
|
||||
guard let self, let contentData, self.pendingContentData?.contentData === contentData else {
|
||||
return
|
||||
@@ -202,11 +192,6 @@ extension ChatControllerImpl {
|
||||
return
|
||||
}
|
||||
|
||||
if let historyNodeData = contentData.state.historyNodeData {
|
||||
self.updateChatLocationToOther(chatLocation: historyNodeData.chatLocation)
|
||||
return
|
||||
}
|
||||
|
||||
self.contentDataUpdated(synchronous: false, forceAnimationTransition: nil, previousState: previousState)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user