From dba1f0fd2adb2745d1b933877f471bbdd3fbaaf9 Mon Sep 17 00:00:00 2001 From: Barsham Sotoudeh Date: Sat, 18 Feb 2017 02:16:55 +1100 Subject: [PATCH] Add missing "offset" parameter in catch block of the GetFile method (#402) This offset optional parameter was added in https://github.com/sochix/TLSharp/commit/a753a1ab136a287559b028ccc7522212882140e0 --- TLSharp.Core/TelegramClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TLSharp.Core/TelegramClient.cs b/TLSharp.Core/TelegramClient.cs index d4efdb1..a4fa06a 100644 --- a/TLSharp.Core/TelegramClient.cs +++ b/TLSharp.Core/TelegramClient.cs @@ -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;