mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
no message
This commit is contained in:
@@ -30,7 +30,11 @@ public func navigateToChatController(navigationController: NavigationController,
|
||||
} else {
|
||||
controller = ChatController(account: account, chatLocation: chatLocation, messageId: messageId, botStart: botStart)
|
||||
}
|
||||
navigationController.replaceAllButRootController(controller, animated: animated)
|
||||
if account.telegramApplicationContext.immediateExperimentalUISettings.keepChatNavigationStack {
|
||||
navigationController.pushViewController(controller)
|
||||
} else {
|
||||
navigationController.replaceAllButRootController(controller, animated: animated)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user