Authorization on conversations

main
Bob Mottram 2024-08-22 10:09:52 +01:00
parent 3aa6a58df1
commit daab63e90c
1 changed files with 4 additions and 4 deletions

View File

@ -285,10 +285,10 @@ def download_conversation_posts(authorized: bool, session,
post_filename = \
locate_post(base_dir, nickname, domain, post_id)
post_json_object = None
if post_filename:
post_json_object = load_json(post_filename)
else:
if authorized:
if authorized:
if post_filename:
post_json_object = load_json(post_filename)
else:
post_json_object = \
get_json(signing_priv_key_pem, session, post_id,
as_header, None, debug, __version__,