Don't ignore NewSessionCreated salt

This commit is contained in:
Lonami Exo 2017-12-04 20:34:35 +01:00
parent d4d7aa9063
commit 1d19bb22a5

View File

@ -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