mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Greatly improve the handling of working with different DC
This commit is contained in:
@@ -328,7 +328,7 @@ class MtProtoSender:
|
||||
error.additional_data))
|
||||
sleep(error.additional_data)
|
||||
|
||||
elif error.message.startswith('PHONE_MIGRATE_'):
|
||||
elif '_MIGRATE_' in error.message:
|
||||
raise InvalidDCError(error.additional_data)
|
||||
|
||||
else:
|
||||
|
Reference in New Issue
Block a user