Skip to content

Commit

Permalink
Use getOptions as first request.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Nov 14, 2020
1 parent cde8acf commit 66af1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/java/org/drinkless/tdlib/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private Client(ResultHandler updateHandler, ExceptionHandler updateExceptionHand
if (defaultExceptionHandler != null) {
defaultExceptionHandlers.put(nativeClientId, defaultExceptionHandler);
}
send(new TdApi.GetAuthorizationState(), null, null);
send(new TdApi.GetOption("version"), null, null);
}

@Override
Expand Down

0 comments on commit 66af1a4

Please sign in to comment.