Тест long polling
This commit is contained in:
parent
22902048cd
commit
8c1703e502
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class PollingManager:
|
|||
self.waiters[chat_id].append(future)
|
||||
try:
|
||||
await future
|
||||
message = self.messages[0]
|
||||
message = self.messages[chat_id][0]
|
||||
return message
|
||||
except asyncio.CancelledError:
|
||||
self.waiters[chat_id].remove(future)
|
||||
|
|
Loading…
Add table
Reference in a new issue