Add missing "offset" parameter in catch block of the GetFile method (#402)

This offset optional parameter was added in a753a1ab13
This commit is contained in:
Barsham Sotoudeh 2017-02-18 02:16:55 +11:00 committed by salarcode
parent 8ab149960a
commit 6bbc18b967

View file

@ -320,7 +320,7 @@ namespace TLSharp.Core
bytes = exportedAuth.bytes,
id = exportedAuth.id
});
result = await GetFile(location, filePartSize);
result = await GetFile(location, filePartSize, offset);
_session.AuthKey = authKey;
_session.TimeOffset = timeOffset;