Check that post has content

merge-requests/30/head
Bob Mottram 2022-12-30 17:32:49 +00:00
parent 73855868b3
commit e1b3340e6a
1 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,8 @@ def download_conversation_posts(session, http_prefix: str, base_dir: str,
'object': post_json 'object': post_json
} }
post_json = wrapped_post post_json = wrapped_post
if not post_json['object'].get('content'):
break
conversation_view = [post_json] + conversation_view conversation_view = [post_json] + conversation_view
if not post_json['object'].get('inReplyTo'): if not post_json['object'].get('inReplyTo'):
if debug: if debug: