mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Premium features
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user