Partial Revert "pyrofork: Handle FLOOD_PREMIUM_WAIT"

This reverts commit e414aa2812.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-06-15 13:04:04 +07:00
parent 30272728be
commit 7c0481d2f0
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -974,7 +974,8 @@ class Client(Methods):
location=location,
offset=offset_bytes,
limit=chunk_size
)
),
sleep_threshold=30
)
if isinstance(r, raw.types.upload.File):
@ -1009,7 +1010,8 @@ class Client(Methods):
location=location,
offset=offset_bytes,
limit=chunk_size
)
),
sleep_threshold=30
)
elif isinstance(r, raw.types.upload.FileCdnRedirect):