Improve parameter names.

This commit is contained in:
levlam 2021-10-29 15:38:39 +03:00
parent b5060687cc
commit f4d20e20ac
2 changed files with 4 additions and 4 deletions

View File

@ -96,8 +96,8 @@ void PhoneNumberManager::resend_authentication_code(uint64 query_id) {
start_net_query(NetQueryType::SendCode, G()->net_query_creator().create_unauth(r_resend_code.move_as_ok()));
}
void PhoneNumberManager::send_new_check_code_query(const telegram_api::Function &query) {
start_net_query(NetQueryType::CheckCode, G()->net_query_creator().create(query));
void PhoneNumberManager::send_new_check_code_query(const telegram_api::Function &check_code) {
start_net_query(NetQueryType::CheckCode, G()->net_query_creator().create(check_code));
}
void PhoneNumberManager::check_code(uint64 query_id, string code) {

View File

@ -56,9 +56,9 @@ class PhoneNumberManager final : public NetActor {
void start_net_query(NetQueryType net_query_type, NetQueryPtr net_query);
void send_new_send_code_query(uint64 query_id, const telegram_api::Function &query);
void send_new_send_code_query(uint64 query_id, const telegram_api::Function &send_code);
void send_new_check_code_query(const telegram_api::Function &query);
void send_new_check_code_query(const telegram_api::Function &check_code);
void process_check_code_result(Result<tl_object_ptr<telegram_api::User>> &&result);