mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix pending update count check in webhook handling
Some checks are pending
Build docker image / Build-Docker-Image (push) Waiting to run
Some checks are pending
Build docker image / Build-Docker-Image (push) Waiting to run
This commit is contained in:
@@ -174,7 +174,7 @@ impl BotsManager {
|
|||||||
|
|
||||||
match result {
|
match result {
|
||||||
Ok(webhook_info) => {
|
Ok(webhook_info) => {
|
||||||
if webhook_info.pending_update_count != 0 {
|
if webhook_info.pending_update_count == 0 {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user