mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-08 01:41:59 +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