From bf233e3b5b18d98fb94438c593c0998e1baeb002 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 17 Feb 2022 11:42:42 +0100 Subject: [PATCH] Update Filters.reply to check for Message.reply_to_message_id --- pyrogram/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/filters.py b/pyrogram/filters.py index 46ca896f..2a44fd4f 100644 --- a/pyrogram/filters.py +++ b/pyrogram/filters.py @@ -218,7 +218,7 @@ text = create(text_filter) # region reply_filter async def reply_filter(_, __, m: Message): - return bool(m.reply_to_message) + return bool(m.reply_to_message_id) reply = create(reply_filter)