From ebff972b49d67a4177369a01fab6e6066ed03d68 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 28 Nov 2022 13:46:32 +0000 Subject: [PATCH] Moved to handle --- relationships.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/relationships.py b/relationships.py index 6cfbbc9b4..cab09a6ef 100644 --- a/relationships.py +++ b/relationships.py @@ -257,7 +257,11 @@ def update_moved_actors(base_dir: str, debug: bool) -> None: continue if not actor_json.get('movedTo'): continue - moved_str += handle + ' ' + actor_json['movedTo'] + '\n' + nickname = get_nickname_from_actor(actor_json['movedTo']) + domain, port = get_domain_from_actor(actor_json['movedTo']) + domain_full = get_full_domain(domain, port) + new_handle = nickname + '@' + domain_full + moved_str += handle + ' ' + new_handle + '\n' ctr = ctr + 1 if moved_str: