Replying to remote posts

main
Bob Mottram 2023-02-16 14:42:56 +00:00
parent 0578ba46cb
commit 546fb3afd3
1 changed files with 2 additions and 1 deletions

View File

@ -1754,7 +1754,8 @@ def can_reply_to(base_dir: str, nickname: str, domain: str,
if not post_json_object:
post_filename = locate_post(base_dir, nickname, domain, post_url)
if not post_filename:
return False
# the post is not stored locally
return True
post_json_object = load_json(post_filename)
if not post_json_object:
return False