Premium features

This commit is contained in:
Isaac
2024-03-19 14:20:31 +04:00
parent 0fc64aa505
commit bd8514ff20
63 changed files with 47586 additions and 46860 deletions

View File

@@ -190,7 +190,7 @@ extension SelectivePrivacySettings {
var disableFor: [PeerId: SelectivePrivacyPeer] = [:]
var enableFor: [PeerId: SelectivePrivacyPeer] = [:]
var enableForCloseFriends: Bool = false
let enableForPremium: Bool = false
var enableForPremium: Bool = false
for rule in apiRules {
switch rule {
@@ -232,6 +232,8 @@ extension SelectivePrivacySettings {
}
case .privacyValueAllowCloseFriends:
enableForCloseFriends = true
case .privacyValueAllowPremium:
enableForPremium = true
}
}