Remove var
This commit is contained in:
parent
7a6b0c6d41
commit
3eab57d29d
@ -92,7 +92,7 @@ public final class SimpleTelegramClient implements Authenticable, MutableTelegra
|
|||||||
this.addUpdateHandler(TdApi.UpdateAuthorizationState.class,
|
this.addUpdateHandler(TdApi.UpdateAuthorizationState.class,
|
||||||
new AuthorizationStateWaitAuthenticationDataHandler(client, this, this::handleDefaultException)
|
new AuthorizationStateWaitAuthenticationDataHandler(client, this, this::handleDefaultException)
|
||||||
);
|
);
|
||||||
var updateHandlerInteraction = new SimpleTelegramClientInteraction();
|
SimpleTelegramClientInteraction updateHandlerInteraction = new SimpleTelegramClientInteraction();
|
||||||
this.addUpdateHandler(TdApi.UpdateAuthorizationState.class, new AuthorizationStateWaitRegistrationHandler(client,
|
this.addUpdateHandler(TdApi.UpdateAuthorizationState.class, new AuthorizationStateWaitRegistrationHandler(client,
|
||||||
updateHandlerInteraction,
|
updateHandlerInteraction,
|
||||||
this::handleDefaultException
|
this::handleDefaultException
|
||||||
|
Loading…
Reference in New Issue
Block a user