diff --git a/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs b/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs index dfc272d07..1821f8d84 100644 --- a/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs +++ b/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs @@ -9,7 +9,7 @@ /// Once the stream has returned 0 as the read count it is disposed, /// and subsequent read requests will throw an ObjectDisposedException /// - private bool m_empty = false; + private bool m_empty; /// /// Basic initialization, just pass the stream to the super class diff --git a/Duplicati/Library/Backend/Telegram/TelegramBackend.cs b/Duplicati/Library/Backend/Telegram/TelegramBackend.cs index 00f93f2e6..54b7b68c5 100644 --- a/Duplicati/Library/Backend/Telegram/TelegramBackend.cs +++ b/Duplicati/Library/Backend/Telegram/TelegramBackend.cs @@ -343,8 +343,7 @@ namespace Duplicati.Library.Backend case TLChannel c: lastDate = c.Date; break; - default: - break; } + } yield return chat; }