From 210bc55ce62802b6bde8de4723c4020da2090a4c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 12 Jul 2023 23:29:34 +0100 Subject: [PATCH] Alternative pattern for undo follow --- inbox.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inbox.py b/inbox.py index fc2fcf584..831440f4e 100644 --- a/inbox.py +++ b/inbox.py @@ -1088,13 +1088,13 @@ def _receive_undo_follow(base_dir: str, message_json: {}, get_nickname_from_actor(following_actor) if not nickname_following: print('WARN: undo follow request unable to find nickname in ' + - message_json['object']['object']) + following_actor) return False domain_following, port_following = \ - get_domain_from_actor(message_json['object']['object']) + get_domain_from_actor(following_actor) if not domain_following: print('WARN: undo follow request unable to find domain in ' + - message_json['object']['object']) + following_actor) return False if onion_domain: if domain_following.endswith(onion_domain):