Skip to content

Commit 4eda615

Browse files
committed
Attempted to remove integrity.
1 parent 33cc114 commit 4eda615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TMessagesProj/src/main/java/org/telegram/tgnet/ConnectionsManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ public static void onPremiumFloodWait(final int currentAccount, final int reques
15861586

15871587
@Keep
15881588
public static void onIntegrityCheckClassic(final int currentAccount, final int requestToken, final String project, final String nonce) {
1589-
AndroidUtilities.runOnUIThread(() -> {
1589+
/*AndroidUtilities.runOnUIThread(() -> {
15901590
long start = System.currentTimeMillis();
15911591
FileLog.d("account"+currentAccount+": server requests integrity classic check with project = "+project+" nonce = " + nonce);
15921592
IntegrityManager integrityManager = IntegrityManagerFactory.create(ApplicationLoader.applicationContext);
@@ -1620,7 +1620,7 @@ public static void onIntegrityCheckClassic(final int currentAccount, final int r
16201620
FileLog.e("account"+currentAccount+": integrity check failed to give a token in " + (System.currentTimeMillis() - start) + "ms", e);
16211621
native_receivedIntegrityCheckClassic(currentAccount, requestToken, nonce, "PLAYINTEGRITY_FAILED_EXCEPTION_" + LoginActivity.errorString(e));
16221622
});
1623-
});
1623+
});*/
16241624
}
16251625

16261626
@Keep

0 commit comments

Comments
 (0)