Refactor chat controller data management

This commit is contained in:
Isaac
2025-05-22 02:29:14 +08:00
parent cd3ffe902e
commit 4c3ad04015
24 changed files with 2901 additions and 2704 deletions

View File

@@ -20,6 +20,6 @@ public extension ChatControllerImpl {
if let foundItemNode, let message = foundItemNode.item?.message {
self.chatDisplayNode.historyNode.setCurrentDeleteAnimationCorrelationIds(Set([message.stableId]))
}
self.chatDisplayNode.historyNode.adMessagesContext?.remove(opaqueId: opaqueId)
self.chatDisplayNode.adMessagesContext?.remove(opaqueId: opaqueId)
}
}