Improve parameter names.
This commit is contained in:
parent
b5060687cc
commit
f4d20e20ac
@ -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()));
|
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) {
|
void PhoneNumberManager::send_new_check_code_query(const telegram_api::Function &check_code) {
|
||||||
start_net_query(NetQueryType::CheckCode, G()->net_query_creator().create(query));
|
start_net_query(NetQueryType::CheckCode, G()->net_query_creator().create(check_code));
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhoneNumberManager::check_code(uint64 query_id, string code) {
|
void PhoneNumberManager::check_code(uint64 query_id, string code) {
|
||||||
|
@ -56,9 +56,9 @@ class PhoneNumberManager final : public NetActor {
|
|||||||
|
|
||||||
void start_net_query(NetQueryType net_query_type, NetQueryPtr net_query);
|
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);
|
void process_check_code_result(Result<tl_object_ptr<telegram_api::User>> &&result);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user