From d0e0158a5d20ca163df4bb83d2239bce30a30960 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 11 May 2019 11:34:00 +0800 Subject: [PATCH] fix for poll channels skipping in FlowsUpdatesFilter --- .../TelegramBotAPI/updateshandlers/FlowsUpdatesFilter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/updateshandlers/FlowsUpdatesFilter.kt b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/updateshandlers/FlowsUpdatesFilter.kt index 5fa8b96d1a..6efc1d9abf 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/updateshandlers/FlowsUpdatesFilter.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/updateshandlers/FlowsUpdatesFilter.kt @@ -39,7 +39,8 @@ class FlowsUpdatesFilter { inlineQueryChannel.createUpdateReceiver(), callbackQueryChannel.createUpdateReceiver(), shippingQueryChannel.createUpdateReceiver(), - preCheckoutQueryChannel.createUpdateReceiver() + preCheckoutQueryChannel.createUpdateReceiver(), + pollChannel.createUpdateReceiver() ) val messageFlow: Flow = messageChannel.asFlow()