From 246a5cb278a81e70f278404bd7683e528b65e529 Mon Sep 17 00:00:00 2001 From: FrigaT Date: Wed, 10 Dec 2025 20:54:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=BE=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B1=D0=BE=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BotPages.Telegram/TelegramAdapter.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/BotPages.Telegram/TelegramAdapter.cs b/BotPages.Telegram/TelegramAdapter.cs index 9bdde6c..fecd067 100644 --- a/BotPages.Telegram/TelegramAdapter.cs +++ b/BotPages.Telegram/TelegramAdapter.cs @@ -76,15 +76,6 @@ public sealed class TelegramAdapter : IMessangerAdapterSetup errorHandler: async (_, ex, ct2) => { _logger.Log(LogLevel.Warn, $"{MessengerType} error.", ex); - - if (ex is ApiRequestException apiEx) - { - if (apiEx.ErrorCode == 409) - { - _logger.Log(LogLevel.Critical, $"{MessengerType} остановлен."); - await _.Close(ct2); - } - } await Task.CompletedTask; },