From 0243c5579e1846f2e3c8f438d2884ba36e777d91 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 28 Nov 2022 12:11:34 +0000 Subject: [PATCH] Check for moved actors --- webapp_profile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp_profile.py b/webapp_profile.py index 63cbb43c8..f50b1ed2f 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -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: