From 172dcf9d79e5037608edb8b2fd77f78998c805da Mon Sep 17 00:00:00 2001 From: Keroosha Date: Tue, 28 Feb 2023 03:15:55 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20annoying=20"=D0=9F=D0=B0=D1=88=D0=B0=20?= =?UTF-8?q?=D1=81=D1=83=D0=BA=D0=B0"=20on=20any=20reply?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PublishHelperBot/Telegram.fs | 1 + 1 file changed, 1 insertion(+) diff --git a/PublishHelperBot/Telegram.fs b/PublishHelperBot/Telegram.fs index c9c1f47..f02b277 100644 --- a/PublishHelperBot/Telegram.fs +++ b/PublishHelperBot/Telegram.fs @@ -50,6 +50,7 @@ module BotUpdateType = fromAdminChat (update.Message, adminChatId) && hasReply update.Message && hasRelaySupportedContent update.Message.ReplyToMessage && + hasText update.Message && not (getRelayCaptionType update.Message.Text = RelayCaptionMode.Unknown) let private isPing (update: Update, adminChatId: ConfigChatId) =