2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Support new attach bot deeplinks.

This commit is contained in:
John Preston
2022-06-03 00:26:41 +04:00
parent 092474fdb9
commit 6454f67e74
7 changed files with 109 additions and 12 deletions

View File

@@ -376,7 +376,9 @@ void SessionNavigation::showPeerByLinkResolved(
bot->session().attachWebView().requestAddToMenu(
contextUser,
bot,
*info.attachBotToggleCommand);
*info.attachBotToggleCommand,
parentController(),
info.attachBotChooseTypes);
} else {
crl::on_main(this, [=] {
showPeerHistory(peer->id, params, msgId);