Fix SplitSource build.

GitOrigin-RevId: 8a59347e5f18e5774111c85be0ac5e6045eb59a9
This commit is contained in:
levlam 2020-01-23 17:49:51 +03:00
parent f3480b94d7
commit 6b1ef9d66d

View File

@ -7379,19 +7379,19 @@ void Td::on_request(uint64 id, const td_api::deleteSavedCredentials &request) {
CREATE_OK_REQUEST_PROMISE(); CREATE_OK_REQUEST_PROMISE();
delete_saved_credentials(std::move(promise)); delete_saved_credentials(std::move(promise));
} }
/*
void Td::on_request(uint64 id, const td_api::sendTonLiteServerRequest &request) {
CHECK_IS_USER();
CREATE_REQUEST_PROMISE();
send_ton_lite_server_request(request.request_, std::move(promise));
}
void Td::on_request(uint64 id, const td_api::getTonWalletPasswordSalt &request) { // void Td::on_request(uint64 id, const td_api::sendTonLiteServerRequest &request) {
CHECK_IS_USER(); // CHECK_IS_USER();
CREATE_REQUEST_PROMISE(); // CREATE_REQUEST_PROMISE();
send_closure(password_manager_, &PasswordManager::get_ton_wallet_password_salt, std::move(promise)); // send_ton_lite_server_request(request.request_, std::move(promise));
} // }
*/
// void Td::on_request(uint64 id, const td_api::getTonWalletPasswordSalt &request) {
// CHECK_IS_USER();
// CREATE_REQUEST_PROMISE();
// send_closure(password_manager_, &PasswordManager::get_ton_wallet_password_salt, std::move(promise));
// }
void Td::on_request(uint64 id, td_api::getPassportElement &request) { void Td::on_request(uint64 id, td_api::getPassportElement &request) {
CHECK_IS_USER(); CHECK_IS_USER();
CLEAN_INPUT_STRING(request.password_); CLEAN_INPUT_STRING(request.password_);