Moved to handle

main
Bob Mottram 2022-11-28 13:46:32 +00:00
parent 9b06a99cc8
commit ebff972b49
1 changed files with 5 additions and 1 deletions

View File

@ -257,7 +257,11 @@ def update_moved_actors(base_dir: str, debug: bool) -> None:
continue continue
if not actor_json.get('movedTo'): if not actor_json.get('movedTo'):
continue 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 ctr = ctr + 1
if moved_str: if moved_str: