Commit Graph

4 Commits

Author SHA1 Message Date
Lonami Exo
ab07f0220a Save dc_id instead layer and salt in the session file
Server salts change every 30 minutes after all, so keeping them
in the long-term storage session file doesn't make much sense.

Saving the layer doesn't make sense either, as it was only used
to know whether to init connection or not, but it should be done
always.
2017-12-28 01:06:27 +01:00
Lonami Exo
97cab7347b Make lint happier 2017-09-04 17:10:04 +02:00
Lonami Exo
4384ccb132 Tidy up TelegramBareClient.download_file CDN's mess 2017-08-24 18:00:47 +02:00
Lonami Exo
8cfc4d0fda Add a unit test for CDN-downloads 2017-08-24 16:12:38 +02:00