Update AsyncTdEasy.java

This commit is contained in:
Andrea Cavalli 2021-01-16 16:49:18 +01:00
parent 075bf5ad40
commit d4871a3d51

View File

@ -152,7 +152,7 @@ public class AsyncTdEasy {
* Get TDLib state
*/
public Flux<AuthorizationState> getState() {
return Flux.from(authState).subscribeOn(scheduler);
return authState.distinct().subscribeOn(scheduler);
}
/**