mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-02 07:15:23 +00:00
Fix send() not returning the value in case of a retry
This commit is contained in:
@@ -414,4 +414,4 @@ class Session:
|
||||
datetime.now(), type(data)))
|
||||
|
||||
time.sleep(0.5)
|
||||
self.send(data, retries - 1)
|
||||
return self.send(data, retries - 1)
|
||||
|
Reference in New Issue
Block a user