mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-30 14:45:49 +01:00
Improved error message if the authentication is not yet completed.
This commit is contained in:
parent
011b573a8e
commit
a6463a9010
@ -6575,7 +6575,7 @@ void Client::on_cmd(PromisedQueryPtr query) {
|
||||
} else if (query->method() == "registeruser" && parameters_->allow_users_registration_) {
|
||||
return process_register_user_query(query);
|
||||
} else {
|
||||
return fail_query(404, "Not Found: method not found", std::move(query));
|
||||
return fail_query(404, "Not Found: login not yet completed", std::move(query));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user