From 57063b30ee3658687ec0335b4a7bdff8643ae659 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Mon, 2 Dec 2024 13:58:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20handleUpdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../godfather/telegram/quarkus/core/TelegramPollingBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramPollingBot.java b/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramPollingBot.java index 77a800d..389a442 100644 --- a/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramPollingBot.java +++ b/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramPollingBot.java @@ -57,7 +57,7 @@ public class TelegramPollingBot extends TelegramLongPollingBot implements Telegr if (update != null && eventDistributor != null) { Uni.createFrom().voidItem() .emitOn(command -> Context.newInstance(getOrCreateDuplicatedContext(vertx)).runOnContext(command)) - .replaceWith(() -> eventDistributor.processing(update)) + .replaceWith(eventDistributor.processing(update)) .subscribe().asCompletionStage(); } }