mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 05:24:51 +00:00
PyroFork: More cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
42a2f04d8e
commit
034a4d6041
1 changed files with 1 additions and 1 deletions
|
|
@ -964,7 +964,7 @@ class Message(Object, Update):
|
|||
reply_to_message_ids=message.id,
|
||||
replies=replies - 1
|
||||
)
|
||||
if not reply_to_message.forum_topic_created:
|
||||
if reply_to_message and not reply_to_message.forum_topic_created:
|
||||
parsed_message.reply_to_message = reply_to_message
|
||||
except MessageIdsEmpty:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue