fix compilation issue
This commit is contained in:
parent
7ec1d94b5d
commit
2b54a94fd5
@ -57,7 +57,7 @@ public class TestClient implements ReactorTelegramClient {
|
||||
|
||||
private static Message generateRandomMessage(boolean randomSender, boolean randomChat, boolean randomText) {
|
||||
var msg = new Message();
|
||||
msg.sender = new MessageSenderUser(312042);
|
||||
msg.senderId = new MessageSenderUser(312042);
|
||||
msg.chatId = 240213;
|
||||
msg.id = incrementalMessageId.getAndIncrement();
|
||||
var content = new MessageText();
|
||||
|
@ -479,7 +479,7 @@ public class AsyncTdEasy {
|
||||
.fromCallable(this.settings::get).single().flatMap(settings -> {
|
||||
if (settings.isPhoneNumberSet()) {
|
||||
return sendDirectly(new SetAuthenticationPhoneNumber(String.valueOf(settings.getPhoneNumber()),
|
||||
new PhoneNumberAuthenticationSettings(false, false, false)
|
||||
new PhoneNumberAuthenticationSettings(false, false, false, false, null)
|
||||
), false);
|
||||
} else if (settings.isBotTokenSet()) {
|
||||
return sendDirectly(new CheckAuthenticationBotToken(settings.getBotToken()), false);
|
||||
@ -598,6 +598,7 @@ public class AsyncTdEasy {
|
||||
.filterWhen(file -> Mono
|
||||
.fromCallable(() -> Files.exists(file))
|
||||
.subscribeOn(Schedulers.boundedElastic()))
|
||||
.publishOn(Schedulers.boundedElastic())
|
||||
.doOnNext(directory -> {
|
||||
try {
|
||||
if (!Files.walk(directory)
|
||||
|
Loading…
Reference in New Issue
Block a user