mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Restore background async in ListView
This commit is contained in:
@@ -1255,14 +1255,14 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
|
||||
var hasReadReports = false
|
||||
if let channel = peer as? TelegramChannel {
|
||||
if case .group = channel.info {
|
||||
if let cachedData = cachedData as? CachedChannelData, let memberCount = cachedData.participantsSummary.memberCount, memberCount <= 50 {
|
||||
if canViewStats {
|
||||
hasReadReports = true
|
||||
}
|
||||
} else {
|
||||
reactionCount = 0
|
||||
}
|
||||
} else if let group = peer as? TelegramGroup {
|
||||
if group.participantCount <= 50 {
|
||||
} else if let _ = peer as? TelegramGroup {
|
||||
if canViewStats {
|
||||
hasReadReports = true
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user