Check for moved actors

merge-requests/30/head
Bob Mottram 2022-11-28 12:11:34 +00:00
parent 36bac670a0
commit 0243c5579e
1 changed files with 3 additions and 1 deletions

View File

@ -641,7 +641,9 @@ def html_profile(signing_priv_key_pem: str,
"""
show_moved_accounts = False
if authorized:
show_moved_accounts = True
moved_accounts_filename = base_dir + '/accounts/actors_moved.txt'
if os.path.isfile(moved_accounts_filename):
show_moved_accounts = True
nickname = profile_json['preferredUsername']
if not nickname: