mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 08:51:15 +01:00
Now it works in case if we have bad clock settings on the client.
This commit is contained in:
parent
308b76fce1
commit
433e9bc5d3
@ -66,7 +66,7 @@ class Session:
|
||||
:param message: byte string to send
|
||||
"""
|
||||
|
||||
message_id = struct.pack('<Q', int(time()*2**30)*4)
|
||||
message_id = struct.pack('<Q', int((time()+self.timedelta)*2**30)*4)
|
||||
|
||||
if self.auth_key is None or self.server_salt is None:
|
||||
# Unencrypted data send
|
||||
|
Loading…
x
Reference in New Issue
Block a user