mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 21:44:22 +00:00
Fix ping request not awaiting
This commit is contained in:
parent
f76c654548
commit
a9ccbaca19
@ -324,7 +324,7 @@ class Session:
|
||||
break
|
||||
|
||||
try:
|
||||
self._send(functions.PingDelayDisconnect(
|
||||
await self._send(functions.PingDelayDisconnect(
|
||||
0, self.WAIT_TIMEOUT + 10
|
||||
), False)
|
||||
except (OSError, TimeoutError, Error):
|
||||
|
Loading…
Reference in New Issue
Block a user