only request context to a toot, if we know context exists
This commit is contained in:
parent
f51d19730b
commit
56039cfdea
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def add_post_with_context(post, server, access_token, seen_urls):
|
|||
added = add_context_url(post['url'], server, access_token)
|
||||
if added is True:
|
||||
seen_urls.add(post['url'])
|
||||
if arguments.backfill_with_context:
|
||||
if (post['replies_count'] or post['in_reply_to_id']) and arguments.backfill_with_context:
|
||||
parsed_urls = {}
|
||||
parsed = parse_url(post['url'], parsed_urls)
|
||||
if parsed == None:
|
||||
|
|
Loading…
Reference in a new issue