Merge commit '30e40411499e3bfdfe41f47c1a3c39236a50a1c8'

# Conflicts:
#	submodules/TelegramCore/Sources/TelegramEngine/Payments/Stars.swift
This commit is contained in:
Isaac
2024-10-29 00:41:00 +01:00
52 changed files with 1429 additions and 255 deletions

View File

@@ -180,11 +180,17 @@ extension ChatControllerImpl {
}
self.chatDisplayNode.historyNode.hasAtLeast3MessagesUpdated = { [weak self] hasAtLeast3Messages in
if let strongSelf = self {
strongSelf.updateChatPresentationInterfaceState(interactive: false, { $0.updatedHasAtLeast3Messages(hasAtLeast3Messages) })
}
}
self.chatDisplayNode.historyNode.hasPlentyOfMessagesUpdated = { [weak self] hasPlentyOfMessages in
if let strongSelf = self {
strongSelf.updateChatPresentationInterfaceState(interactive: false, { $0.updatedHasPlentyOfMessages(hasPlentyOfMessages) })
}
}
if case .peer(self.context.account.peerId) = self.chatLocation {
var didDisplayTooltip = false
if "".isEmpty {