This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user