mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
prem disallow
This commit is contained in:
parent
fd20831e92
commit
52bdb13bdc
@ -413,6 +413,9 @@ func _internal_updateGlobalPrivacySettings(account: Account, settings: GlobalPri
|
||||
if settings.disallowedGifts.contains(.unique) {
|
||||
giftFlags |= 1 << 2
|
||||
}
|
||||
if settings.disallowedGifts.contains(.premium) {
|
||||
giftFlags |= 1 << 3
|
||||
}
|
||||
}
|
||||
flags |= 1 << 6
|
||||
let disallowedStargifts = Api.DisallowedGiftsSettings.disallowedGiftsSettings(flags: giftFlags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user