mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update aiogram/dispatcher/filters/builtin.py
Co-Authored-By: Alex Root Junior <jroot.junior@gmail.com>
This commit is contained in:
parent
615b5af00f
commit
000cd9aad8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue