1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-06 23:53:47 +00:00

Fix test dc login

This commit is contained in:
luvletter2333 2021-11-05 01:11:54 +08:00
parent 6233580e24
commit 6400ef3a86
No known key found for this signature in database
GPG Key ID: C37B5ACF60FFA643

View File

@ -2228,7 +2228,7 @@ public class LoginActivity extends BaseFragment implements NotificationCenter.No
String dcId = phone.substring(5, 6);
final TLRPC.TL_auth_signIn reqI = new TLRPC.TL_auth_signIn();
reqI.phone_number = phone;
reqI.phone_code = dcId + dcId + dcId + dcId + dcId + dcId;
reqI.phone_code = dcId + dcId + dcId + dcId + dcId;
reqI.phone_code_hash = phoneHash;
int reqIdI = ConnectionsManager.getInstance(currentAccount).sendRequest(reqI, (responseI, errorI) -> AndroidUtilities.runOnUIThread(() -> {
boolean ok = false;