mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
parent
08d5bfcbd0
commit
a6781c8e34
|
@ -94,6 +94,8 @@ class UserMethods:
|
||||||
if utils.is_list_like(request):
|
if utils.is_list_like(request):
|
||||||
request = request[request_index]
|
request = request[request_index]
|
||||||
|
|
||||||
|
# SLOW_MODE_WAIT is chat-specific, not request-specific
|
||||||
|
if not isinstance(e, errors.SlowModeWaitError):
|
||||||
self._flood_waited_requests\
|
self._flood_waited_requests\
|
||||||
[request.CONSTRUCTOR_ID] = time.time() + e.seconds
|
[request.CONSTRUCTOR_ID] = time.time() + e.seconds
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user