feat/temp store follow request

This commit is contained in:
SouthFox 2023-03-18 22:55:49 +08:00
parent 5f76f7894c
commit e480f77172

View file

@ -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