Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Martikyan <karen.martikyan@digitain.com>2020-09-30 23:36:59 +0300
committerKaren Martikyan <karen.martikyan@digitain.com>2020-09-30 23:36:59 +0300
commita994ce8f7d75445e661c1a90f310b158d60377ee (patch)
tree6772354427e790c7a2473c491c76de7353b95ff5 /Duplicati/Library
parent2ee06f226269e28e2981c7acbb26f2955829ab0f (diff)
Small fix made
Diffstat (limited to 'Duplicati/Library')
-rw-r--r--Duplicati/Library/Backend/Telegram/TelegramBackend.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Duplicati/Library/Backend/Telegram/TelegramBackend.cs b/Duplicati/Library/Backend/Telegram/TelegramBackend.cs
index 474dabc0d..78cd0b3d9 100644
--- a/Duplicati/Library/Backend/Telegram/TelegramBackend.cs
+++ b/Duplicati/Library/Backend/Telegram/TelegramBackend.cs
@@ -326,6 +326,7 @@ namespace Duplicati.Library.Backend
var lastDate = 0;
while (true)
{
+ EnsureConnected();
var dialogs = m_telegramClient.GetUserDialogsAsync(lastDate).GetAwaiter().GetResult();
var tlDialogs = dialogs as TLDialogs;
var tlDialogsSlice = dialogs as TLDialogsSlice;