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 04ad7a67e9
commit dba1f0fd2a

View file

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