diff --git a/aiogram/dispatcher/filters/builtin.py b/aiogram/dispatcher/filters/builtin.py index a95ecf52..d11a7e35 100644 --- a/aiogram/dispatcher/filters/builtin.py +++ b/aiogram/dispatcher/filters/builtin.py @@ -639,5 +639,5 @@ class IsReplyFilter(BoundFilter): async def check(self, msg: Message): if msg.reply_to_message and self.is_reply: return {'reply': msg.reply_to_message} - elif msg.reply_to_message is None and self.is_reply is False: + elif not msg.reply_to_message and not self.is_reply: return True