From f7e3024e7e8a494c76f647f9a6382f1faae79edf Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Fri, 17 Oct 2025 03:36:56 +0300 Subject: [PATCH] fix last issue --- ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs b/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs index b5b0f99..5cde7dd 100644 --- a/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs +++ b/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs @@ -71,7 +71,7 @@ namespace ChatBot.Services.Telegram.Commands if (botInfo != null) { bool hasBotMention = messageText.Contains($"@{botInfo.Username}"); - bool hasOtherMentions = messageText.Contains("@") && !hasBotMention; + bool hasOtherMentions = messageText.Contains('@') && !hasBotMention; if (!hasBotMention && hasOtherMentions) {