Send start in bots auto in existing bot chats.

This commit is contained in:
John Preston
2024-12-09 12:41:17 +04:00
parent 10f1ae152d
commit 3957fea5e4
4 changed files with 32 additions and 5 deletions
@@ -690,6 +690,8 @@ void SessionNavigation::showPeerByLinkResolved(
? info.messageId
: info.startAutoSubmit
? ShowAndStartBotMsgId
: (bot && !info.startToken.isEmpty())
? ShowAndMaybeStartBotMsgId
: ShowAtUnreadMsgId;
const auto attachBotUsername = info.attachBotUsername;
if (bot && bot->botInfo->startToken != info.startToken) {