mirror of https://gitlab.com/bashrc2/epicyon
Authorization on conversations
parent
3aa6a58df1
commit
daab63e90c
|
@ -285,10 +285,10 @@ def download_conversation_posts(authorized: bool, session,
|
||||||
post_filename = \
|
post_filename = \
|
||||||
locate_post(base_dir, nickname, domain, post_id)
|
locate_post(base_dir, nickname, domain, post_id)
|
||||||
post_json_object = None
|
post_json_object = None
|
||||||
if post_filename:
|
if authorized:
|
||||||
post_json_object = load_json(post_filename)
|
if post_filename:
|
||||||
else:
|
post_json_object = load_json(post_filename)
|
||||||
if authorized:
|
else:
|
||||||
post_json_object = \
|
post_json_object = \
|
||||||
get_json(signing_priv_key_pem, session, post_id,
|
get_json(signing_priv_key_pem, session, post_id,
|
||||||
as_header, None, debug, __version__,
|
as_header, None, debug, __version__,
|
||||||
|
|
Loading…
Reference in New Issue