From f5a7a8da45cd990898b96ff87311fcf4e3b9a7e3 Mon Sep 17 00:00:00 2001 From: Andrey Egorov Date: Fri, 8 Jun 2018 01:33:11 +0300 Subject: [PATCH] Not need to save (salt is out of DB) --- telethon/network/mtproto_sender.py | 1 - 1 file changed, 1 deletion(-) diff --git a/telethon/network/mtproto_sender.py b/telethon/network/mtproto_sender.py index 759b238b..d3aa2255 100644 --- a/telethon/network/mtproto_sender.py +++ b/telethon/network/mtproto_sender.py @@ -347,7 +347,6 @@ class MtProtoSender: # Our salt is unsigned, but the objects work with signed salts self.session.salt = bad_salt.new_server_salt - self.session.save() # "the bad_server_salt response is received with the # correct salt, and the message is to be re-sent with it"