mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +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 {
|
||||
Ok(webhook_info) => {
|
||||
if webhook_info.pending_update_count != 0 {
|
||||
if webhook_info.pending_update_count == 0 {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user