mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Merge commit '30e40411499e3bfdfe41f47c1a3c39236a50a1c8'
# Conflicts: # submodules/TelegramCore/Sources/TelegramEngine/Payments/Stars.swift
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user