Merge branch 'develop' into asyncio-dev
# Conflicts: # pyrogram/session/session.py
This commit is contained in:
commit
6a898803db
@ -239,7 +239,7 @@ class Session:
|
|||||||
else [data]
|
else [data]
|
||||||
)
|
)
|
||||||
|
|
||||||
log.debug(data)
|
log.debug("Received:\n{}".format(data))
|
||||||
|
|
||||||
for msg in messages:
|
for msg in messages:
|
||||||
if msg.seq_no % 2 != 0:
|
if msg.seq_no % 2 != 0:
|
||||||
@ -366,6 +366,8 @@ class Session:
|
|||||||
if wait_response:
|
if wait_response:
|
||||||
self.results[msg_id] = Result()
|
self.results[msg_id] = Result()
|
||||||
|
|
||||||
|
log.debug("Sent:\n{}".format(message))
|
||||||
|
|
||||||
payload = MTProto.pack(
|
payload = MTProto.pack(
|
||||||
message,
|
message,
|
||||||
self.current_salt.salt,
|
self.current_salt.salt,
|
||||||
|
Loading…
Reference in New Issue
Block a user