mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Frozen account improvements
This commit is contained in:
@@ -132,6 +132,10 @@ extension ChatControllerImpl {
|
||||
case .cancelMessageSelection:
|
||||
self.updateChatPresentationInterfaceState(animated: true, interactive: true, { $0.updatedInterfaceState { $0.withoutSelectionState() } })
|
||||
case .clearHistory:
|
||||
guard !self.presentAccountFrozenInfoIfNeeded() else {
|
||||
return
|
||||
}
|
||||
|
||||
if case let .peer(peerId) = self.chatLocation {
|
||||
let beginClear: (InteractiveHistoryClearingType) -> Void = { [weak self] type in
|
||||
self?.beginClearHistory(type: type)
|
||||
|
||||
Reference in New Issue
Block a user