Commit ac882621 authored by Vysheng's avatar Vysheng

Fixed signin

parent e0fff964
...@@ -356,6 +356,7 @@ void do_send_code (const char *user) { ...@@ -356,6 +356,7 @@ void do_send_code (const char *user) {
out_int (0); out_int (0);
out_int (TG_APP_ID); out_int (TG_APP_ID);
out_string (TG_APP_HASH); out_string (TG_APP_HASH);
out_string ("en");
send_query (DC_working, packet_ptr - packet_buffer, packet_buffer, &send_code_methods, 0); send_query (DC_working, packet_ptr - packet_buffer, packet_buffer, &send_code_methods, 0);
net_loop (0, code_is_sent); net_loop (0, code_is_sent);
...@@ -391,6 +392,7 @@ void do_send_code (const char *user) { ...@@ -391,6 +392,7 @@ void do_send_code (const char *user) {
out_int (0); out_int (0);
out_int (TG_APP_ID); out_int (TG_APP_ID);
out_string (TG_APP_HASH); out_string (TG_APP_HASH);
out_string ("en");
send_query (DC_working, packet_ptr - packet_buffer, packet_buffer, &send_code_methods, 0); send_query (DC_working, packet_ptr - packet_buffer, packet_buffer, &send_code_methods, 0);
net_loop (0, code_is_sent); net_loop (0, code_is_sent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment