mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Privacy settings
This commit is contained in:
@@ -24,7 +24,7 @@ public final class PeerSelectionControllerImpl: ViewController, PeerSelectionCon
|
||||
private let forumPeerId: EnginePeer.Id?
|
||||
private let selectForumThreads: Bool
|
||||
|
||||
private let attemptSelection: ((EnginePeer, Int64?) -> Void)?
|
||||
private let attemptSelection: ((EnginePeer, Int64?, ChatListDisabledPeerReason) -> Void)?
|
||||
private let createNewGroup: (() -> Void)?
|
||||
|
||||
public var inProgress: Bool = false {
|
||||
@@ -289,9 +289,9 @@ public final class PeerSelectionControllerImpl: ViewController, PeerSelectionCon
|
||||
}
|
||||
}
|
||||
|
||||
self.peerSelectionNode.requestOpenDisabledPeer = { [weak self] peer, threadId in
|
||||
self.peerSelectionNode.requestOpenDisabledPeer = { [weak self] peer, threadId, reason in
|
||||
if let strongSelf = self {
|
||||
strongSelf.attemptSelection?(peer, threadId)
|
||||
strongSelf.attemptSelection?(peer, threadId, reason)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user