mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 00:04:14 +03:00
Fix session ID is also signed since d4d7aa9
This commit is contained in:
parent
1d19bb22a5
commit
0e0bc6ecbc
|
@ -155,7 +155,7 @@ class MtProtoSender:
|
|||
:param message: the TLMessage to be sent.
|
||||
"""
|
||||
plain_text = \
|
||||
struct.pack('<qQ', self.session.salt, self.session.id) \
|
||||
struct.pack('<qq', self.session.salt, self.session.id) \
|
||||
+ bytes(message)
|
||||
|
||||
msg_key = utils.calc_msg_key(plain_text)
|
||||
|
|
Loading…
Reference in New Issue
Block a user