mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +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
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user