mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-23 23:34:28 +00:00
Fix quote if quote is not in reply
This commit is contained in:
parent
be473d4601
commit
353a00deda
@ -969,6 +969,9 @@ class Message(Object, Update):
|
||||
client=client
|
||||
)
|
||||
|
||||
if any((isinstance(entity, raw.types.MessageEntityBlockquote) for entity in message.entities)):
|
||||
parsed_message.quote = True
|
||||
|
||||
if message.reply_to:
|
||||
if isinstance(message.reply_to, raw.types.MessageReplyHeader):
|
||||
if message.reply_to.forum_topic:
|
||||
|
Loading…
Reference in New Issue
Block a user