From 08d9474e43d7363fd6b4ec3ab5e94874586b88d8 Mon Sep 17 00:00:00 2001 From: Sergey Gut Date: Sat, 25 Dec 2021 21:44:39 +0400 Subject: [PATCH] Fix multiple handling --- Core/GeneralHandler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/GeneralHandler.cs b/Core/GeneralHandler.cs index 65388ca..d17a472 100644 --- a/Core/GeneralHandler.cs +++ b/Core/GeneralHandler.cs @@ -29,7 +29,7 @@ namespace Kruzya.TelegramBot.Core [HandleEverything] [Priority(-10)] - public async Task Listener() + public async Task Listener() { foreach (var message in new Message[] {RawUpdate.Message, RawUpdate.EditedMessage, RawUpdate.ChannelPost, RawUpdate.EditedChannelPost}) { @@ -40,6 +40,8 @@ namespace Kruzya.TelegramBot.Core await VerifyChatPair(message); } + + return true; } public async Task VerifyChatPair(Message message)