mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Update filters
This commit is contained in:
@@ -172,12 +172,21 @@ public struct LegacyPeerSummaryCounterTags: OptionSet, Sequence, Hashable {
|
||||
}
|
||||
|
||||
public extension PeerSummaryCounterTags {
|
||||
static let privateChat = PeerSummaryCounterTags(rawValue: 1 << 3)
|
||||
static let secretChat = PeerSummaryCounterTags(rawValue: 1 << 4)
|
||||
static let privateGroup = PeerSummaryCounterTags(rawValue: 1 << 5)
|
||||
static let bot = PeerSummaryCounterTags(rawValue: 1 << 6)
|
||||
static let channel = PeerSummaryCounterTags(rawValue: 1 << 7)
|
||||
static let publicGroup = PeerSummaryCounterTags(rawValue: 1 << 8)
|
||||
static let contact = PeerSummaryCounterTags(rawValue: 1 << 3)
|
||||
static let nonContact = PeerSummaryCounterTags(rawValue: 1 << 4)
|
||||
static let smallGroup = PeerSummaryCounterTags(rawValue: 1 << 5)
|
||||
static let largeGroup = PeerSummaryCounterTags(rawValue: 1 << 6)
|
||||
static let bot = PeerSummaryCounterTags(rawValue: 1 << 7)
|
||||
static let channel = PeerSummaryCounterTags(rawValue: 1 << 8)
|
||||
|
||||
static let all: PeerSummaryCounterTags = [
|
||||
.contact,
|
||||
.nonContact,
|
||||
.smallGroup,
|
||||
.largeGroup,
|
||||
.bot,
|
||||
.channel
|
||||
]
|
||||
}
|
||||
|
||||
private enum PreferencesKeyValues: Int32 {
|
||||
|
||||
Reference in New Issue
Block a user