Send a dummy request to initialize client.

This commit is contained in:
levlam 2020-11-12 16:53:51 +03:00
parent 6a9cd72636
commit 5ce7448f7a

View File

@ -188,6 +188,7 @@ public final class Client {
if (defaultExceptionHandler != null) {
defaultExceptionHandlers.put(nativeClientId, defaultExceptionHandler);
}
send(new TdApi.GetAuthorizationState(), null, null);
}
@Override