mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
Oops. Repair Dispatcher._process_pooling_updates
This commit is contained in:
parent
77e2d4c44a
commit
a5d983a522
1 changed files with 5 additions and 6 deletions
|
|
@ -188,9 +188,8 @@ class Dispatcher:
|
|||
:param updates: list of updates.
|
||||
"""
|
||||
need_to_call = []
|
||||
for update in await self.process_updates(updates):
|
||||
for responses in update:
|
||||
for response in responses:
|
||||
for response in await self.process_updates(updates):
|
||||
for response in response:
|
||||
if not isinstance(response, BaseResponse):
|
||||
continue
|
||||
need_to_call.append(response.execute_response(self.bot))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue