mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 09:22:03 +00:00
removed skipped updates counter
This commit is contained in:
parent
660aba50ee
commit
42d1e875a5
1 changed files with 2 additions and 4 deletions
|
|
@ -338,10 +338,8 @@ class Executor:
|
|||
|
||||
async def _skip_updates(self):
|
||||
await self.dispatcher.reset_webhook(True)
|
||||
count = await self.dispatcher.skip_updates()
|
||||
if count:
|
||||
log.warning(f"Skipped {count} updates.")
|
||||
return count
|
||||
await self.dispatcher.skip_updates()
|
||||
log.warning(f"Updates are skipped successfully.")
|
||||
|
||||
async def _welcome(self):
|
||||
user = await self.dispatcher.bot.me
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue