Fix quote if quote is not in reply

This commit is contained in:
KurimuzonAkuma 2023-10-30 15:27:13 +03:00
parent be473d4601
commit 353a00deda

View File

@ -969,6 +969,9 @@ class Message(Object, Update):
client=client client=client
) )
if any((isinstance(entity, raw.types.MessageEntityBlockquote) for entity in message.entities)):
parsed_message.quote = True
if message.reply_to: if message.reply_to:
if isinstance(message.reply_to, raw.types.MessageReplyHeader): if isinstance(message.reply_to, raw.types.MessageReplyHeader):
if message.reply_to.forum_topic: if message.reply_to.forum_topic: