mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
Don't ignore NewSessionCreated salt
This commit is contained in:
parent
d4d7aa9063
commit
1d19bb22a5
|
@ -490,6 +490,7 @@ class MtProtoSender:
|
|||
"""
|
||||
new_session = reader.tgread_object()
|
||||
assert isinstance(new_session, NewSessionCreated)
|
||||
self.session.salt = new_session.server_salt
|
||||
# TODO https://goo.gl/LMyN7A
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user