Fix C++ example.
This commit is contained in:
parent
821398fa21
commit
5c5f3bece5
@ -273,7 +273,7 @@ class TdExample {
|
|||||||
[this](td_api::authorizationStateWaitPassword &) {
|
[this](td_api::authorizationStateWaitPassword &) {
|
||||||
std::cout << "Enter authentication password: " << std::flush;
|
std::cout << "Enter authentication password: " << std::flush;
|
||||||
std::string password;
|
std::string password;
|
||||||
std::getline(std::cin, line);
|
std::getline(std::cin, password);
|
||||||
send_query(td_api::make_object<td_api::checkAuthenticationPassword>(password),
|
send_query(td_api::make_object<td_api::checkAuthenticationPassword>(password),
|
||||||
create_authentication_query_handler());
|
create_authentication_query_handler());
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user