mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix bot start token sending.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user