mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix-up a332d29
should not be exported on invalid DC
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user