Bot forums v2

This commit is contained in:
Isaac
2025-09-05 15:25:50 +02:00
parent 63e2a1c417
commit 1d06c3f058
79 changed files with 852 additions and 1303 deletions

View File

@@ -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)
}
})