mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-12-01 22:03:46 +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()
|
new_session = reader.tgread_object()
|
||||||
assert isinstance(new_session, NewSessionCreated)
|
assert isinstance(new_session, NewSessionCreated)
|
||||||
|
self.session.salt = new_session.server_salt
|
||||||
# TODO https://goo.gl/LMyN7A
|
# TODO https://goo.gl/LMyN7A
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user