diff --git a/app/boxes.py b/app/boxes.py index 31c364b..43724d1 100644 --- a/app/boxes.py +++ b/app/boxes.py @@ -60,8 +60,9 @@ async def process_incoming( actor = await fetch_actor(ap_object["actor"], db_session) if "Follow" == ap_object["type"]: - await _handle_follow(db_session, actor.ap_actor["inbox"], ap_object) - return True + if await _handle_follow(db_session, actor.ap_actor["inbox"], ap_object): + return True + return False return False