TgSharp
TgSharp copied to clipboard
"Endless quest" in attempt to export authorization
Once client connected to other DC it can not proceed work:
1 SendRequestAsync() calls RequestWithDcMigration() 2 it gets DataCenterMigrationException() 3 and calls ReconnectToDcAsync() 4 ReconnectToDcAsync() calls SendRequestAsync< TLExportedAuthorization > i.e. goto 1 :)
Where is a proper exit?
Use tree https://github.com/nblockchain/TgSharp/tree/2faFeature
This version suffers same problem
Ниче не знаю, но у меня работает )))
This occurs when you try to export the auth from the dc that is not the origin for the user. I fixed this issue in this commit https://github.com/SmaGMan/TgSharp/commit/f081731eb1a5db225e4524d1cb9f1fcaf9dcb582