From 75013d51bda83116498ad43ad18c9419ead8a685 Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Sun, 28 Feb 2021 17:47:52 +0100 Subject: [PATCH] Remove old comments --- TelegramBotBase/Form/AutoCleanForm.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/TelegramBotBase/Form/AutoCleanForm.cs b/TelegramBotBase/Form/AutoCleanForm.cs index de87660..1f40430 100644 --- a/TelegramBotBase/Form/AutoCleanForm.cs +++ b/TelegramBotBase/Form/AutoCleanForm.cs @@ -138,16 +138,6 @@ namespace TelegramBotBase.Form await Task.WhenAll(tasks); this.OldMessages.Clear(); - - //while (this.OldMessages.Count > 0) - //{ - // if (!await this.Device.DeleteMessage(this.OldMessages[0])) - // { - // //Message can't be deleted cause it seems not to exist anymore - // if (this.OldMessages.Count > 0) - // this.OldMessages.RemoveAt(0); - // } - //} } } }