This commit is contained in:
parent
757bf60e18
commit
6b6cedf0f5
|
@ -34,7 +34,7 @@ async def load_messages(chat_id: str, limit: int = 5, offset: int = 0, ids: Opti
|
|||
replies = []
|
||||
for m in messages:
|
||||
if m:
|
||||
reply_to = json.loads(m).get("replyTo")
|
||||
reply_to = m.get("replyTo")
|
||||
if reply_to:
|
||||
reply_to = int(reply_to)
|
||||
if reply_to not in message_ids:
|
||||
|
|
Loading…
Reference in New Issue
Block a user