Update TransferServiceImpl.java and tdlib-session-container
This commit is contained in:
parent
39751747c3
commit
b9fbc22c11
@ -32,7 +32,6 @@ import java.util.stream.Collectors;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.reactivestreams.Publisher;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.warp.commonutils.error.InitializationException;
|
||||
import reactor.core.publisher.EmitterProcessor;
|
||||
import reactor.core.publisher.Flux;
|
||||
import reactor.core.publisher.Mono;
|
||||
@ -129,7 +128,7 @@ public class TransferServiceImpl implements TransferService {
|
||||
})
|
||||
.build())
|
||||
.then(Mono.defer(() -> {
|
||||
var clientStateFlux = client.getState().skip(1).publish().autoConnect(2);
|
||||
var clientStateFlux = client.getState().publish().autoConnect(2);
|
||||
|
||||
clientStateFlux
|
||||
.filter(state -> state.getConstructor() == AuthorizationStateClosing.CONSTRUCTOR
|
||||
|
1
tdlib-session-container
Submodule
1
tdlib-session-container
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit bc40e2b9e60857e3b84850d11ba399a2afc51073
|
Loading…
Reference in New Issue
Block a user