diff --git a/telethon/client/downloads.py b/telethon/client/downloads.py index e0197241..abf7f7c9 100644 --- a/telethon/client/downloads.py +++ b/telethon/client/downloads.py @@ -217,6 +217,7 @@ class DownloadMethods(UserMethods): # TODO Figure out why the session may have the wrong DC ID sender = self._sender + exported = False else: # The used sender will also change if ``FileMigrateError`` occurs sender = self._sender