Pyrofork: fix derp

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2023-08-17 22:09:23 +07:00
parent aeb9a0cdf1
commit fe39c6e879
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -46,7 +46,7 @@ class InputReplyToMessage(Object):
def write(self):
reply_to_msg_id = None
top_msg_id = None
if self.reply_to_message_id or self.reply_to_message_id:
if self.reply_to_message_id or self.message_thread_id:
if self.message_thread_id:
if not self.reply_to_message_id:
reply_to_msg_id = self.message_thread_id