Various fixes

This commit is contained in:
Ilya Laktyushin
2023-02-28 22:55:16 +04:00
parent 8733c482c7
commit 4c6dd1e16d
2 changed files with 36 additions and 7 deletions

View File

@@ -42,6 +42,10 @@ func handleTextLinkActionImpl(context: AccountContext, peerId: PeerId?, navigate
}
}
}))
case let .withBotStartPayload(botStart):
if let navigationController = controller?.navigationController as? NavigationController {
context.sharedContext.navigateToChatController(NavigateToChatControllerParams(navigationController: navigationController, context: context, chatLocation: .peer(peer), botStart: botStart, keepStack: .always))
}
default:
break
}