mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Comment updates
This commit is contained in:
@@ -264,11 +264,9 @@ final class AuthorizedApplicationContext {
|
||||
if UIApplication.shared.applicationState == .active {
|
||||
var chatIsVisible = false
|
||||
if let topController = strongSelf.rootController.topViewController as? ChatControllerImpl, topController.traceVisibility() {
|
||||
if case .peer(firstMessage.id.peerId) = topController.chatLocation {
|
||||
if topController.chatLocation.peerId == firstMessage.id.peerId {
|
||||
chatIsVisible = true
|
||||
}/* else if case let .group(topGroupId) = topController.chatLocation, topGroupId == groupId {
|
||||
chatIsVisible = true
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
if !notify {
|
||||
|
||||
Reference in New Issue
Block a user