Update filters

This commit is contained in:
Ali
2020-03-04 02:10:49 +04:00
parent d14e0772e7
commit 4397baa226
87 changed files with 3840 additions and 1931 deletions

View File

@@ -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 {