Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2024-04-22 19:28:37 +04:00
32 changed files with 308 additions and 104 deletions

View File

@@ -315,7 +315,6 @@ public func globalAutoremoveScreen(context: AccountContext, initialValue: Int32,
chatListFilters: nil,
displayAutoremoveTimeout: true
)),
options: [],
filters: [.excludeSelf],
isPeerEnabled: { peer in
var canManage = false

View File

@@ -1141,7 +1141,7 @@ public func selectivePrivacySettingsController(
onlyUsers: false,
disableChannels: true,
disableBots: false
)), options: [], filters: [.excludeSelf]))
)), filters: [.excludeSelf]))
addPeerDisposable.set((controller.result
|> take(1)
|> deliverOnMainQueue).start(next: { [weak controller] result in

View File

@@ -355,7 +355,7 @@ public func selectivePrivacyPeersController(context: AccountContext, title: Stri
onlyUsers: false,
disableChannels: true,
disableBots: false
)), options: [], alwaysEnabled: true))
)), alwaysEnabled: true))
addPeerDisposable.set((controller.result
|> take(1)
|> deliverOnMainQueue).start(next: { [weak controller] result in