mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-01 03:50:43 +00:00
Fix bot start token sending.
This commit is contained in:
parent
87df42f8c1
commit
949caecb75
@ -3570,7 +3570,7 @@ void ApiWrap::sendBotStart(
|
||||
}
|
||||
|
||||
auto &info = bot->botInfo;
|
||||
auto &token = chat ? startTokenForChat : info->startToken;
|
||||
const auto token = chat ? startTokenForChat : info->startToken;
|
||||
if (token.isEmpty()) {
|
||||
auto message = MessageToSend(
|
||||
Api::SendAction(_session->data().history(chat
|
||||
|
Loading…
Reference in New Issue
Block a user