mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Update mtproto_sender.py
Adding return in line 312
This commit is contained in:
parent
14bb158c8b
commit
d706dbe7b0
|
@ -309,6 +309,7 @@ class MtProtoSender:
|
||||||
# Server send another same reply.
|
# Server send another same reply.
|
||||||
# So We ignore it and continue on updates thread
|
# So We ignore it and continue on updates thread
|
||||||
print('Cannot receive a request from inside an RPC result from the updates thread.')
|
print('Cannot receive a request from inside an RPC result from the updates thread.')
|
||||||
|
return
|
||||||
|
|
||||||
if inner_code == 0x3072cfa1: # GZip packed
|
if inner_code == 0x3072cfa1: # GZip packed
|
||||||
unpacked_data = gzip.decompress(reader.tgread_bytes())
|
unpacked_data = gzip.decompress(reader.tgread_bytes())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user