mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fix bot start token sending.
This commit is contained in:
parent
87df42f8c1
commit
949caecb75
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue