mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Always create a new secret chat on a profile screen
This commit is contained in:
parent
2e79a50735
commit
abcef0ff0e
@ -3087,7 +3087,7 @@ private final class PeerInfoScreenNode: ViewControllerTracingNode, UIScrollViewD
|
|||||||
guard let strongSelf = self else {
|
guard let strongSelf = self else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if let currentPeerId = currentPeerId {
|
if false, let currentPeerId = currentPeerId {
|
||||||
if let navigationController = (strongSelf.controller?.navigationController as? NavigationController) {
|
if let navigationController = (strongSelf.controller?.navigationController as? NavigationController) {
|
||||||
strongSelf.context.sharedContext.navigateToChatController(NavigateToChatControllerParams(navigationController: navigationController, context: strongSelf.context, chatLocation: .peer(currentPeerId)))
|
strongSelf.context.sharedContext.navigateToChatController(NavigateToChatControllerParams(navigationController: navigationController, context: strongSelf.context, chatLocation: .peer(currentPeerId)))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user