no message

This commit is contained in:
Ilya Laktyushin
2018-09-05 19:37:37 +03:00
parent bb69ec2997
commit 2a432ddcf4
8 changed files with 17 additions and 26 deletions

View File

@@ -498,7 +498,7 @@ public final class ChatController: TelegramController, UIViewControllerPreviewin
case let .url(url):
if isGame {
strongSelf.chatDisplayNode.dismissInput()
strongSelf.present(GameController(account: strongSelf.account, url: url, message: message), in: .window(.root))
(strongSelf.navigationController as? NavigationController)?.pushViewController(GameController(account: strongSelf.account, url: url, message: message))
} else {
strongSelf.openUrl(url, concealed: false)
}