From daab63e90c87a972c48abb484216506f5ff7fe2e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 22 Aug 2024 10:09:52 +0100 Subject: [PATCH] Authorization on conversations --- conversation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conversation.py b/conversation.py index 0e00083bd..0d542bbb5 100644 --- a/conversation.py +++ b/conversation.py @@ -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__,