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