Prepare requests for re-sending after a DC migration

Fixes #608.
This commit is contained in:
Robert Massa 2017-11-20 21:27:23 +01:00
parent b55b28fa5d
commit 4706a52c1e

View file

@ -123,6 +123,8 @@ namespace TLSharp.Core
catch(DataCenterMigrationException e)
{
await ReconnectToDcAsync(e.DC);
// prepare the request for another try
request.ConfirmReceived = false;
}
}
}