mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various fixes
This commit is contained in:
@@ -346,7 +346,7 @@ public func incomingMessagePrivacyScreen(context: AccountContext, value: GlobalP
|
||||
updateState { state in
|
||||
var updatedState = state
|
||||
updatedState.disableFor = updatedPeerIds
|
||||
return state
|
||||
return updatedState
|
||||
}
|
||||
let settings: SelectivePrivacySettings = .enableContacts(enableFor: updatedPeerIds, disableFor: [:], enableForPremium: false, enableForBots: false)
|
||||
let _ = context.engine.privacy.updateSelectiveAccountPrivacySettings(type: .noPaidMessages, settings: settings).start()
|
||||
|
||||
Reference in New Issue
Block a user