From e1b3340e6ad3f7bda740653aa68ef19d01aff698 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Dec 2022 17:32:49 +0000 Subject: [PATCH] Check that post has content --- conversation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conversation.py b/conversation.py index bfc85d6fe..21257c7f4 100644 --- a/conversation.py +++ b/conversation.py @@ -168,6 +168,8 @@ def download_conversation_posts(session, http_prefix: str, base_dir: str, 'object': post_json } post_json = wrapped_post + if not post_json['object'].get('content'): + break conversation_view = [post_json] + conversation_view if not post_json['object'].get('inReplyTo'): if debug: