Fix inbox processing for deleted actors

This commit is contained in:
Thomas Sileo 2022-08-19 19:36:23 +02:00
parent f31f4e9d22
commit 538af64955
2 changed files with 4 additions and 0 deletions

View file

@ -1737,6 +1737,7 @@ async def save_to_inbox(
actor = await fetch_actor(db_session, ap.get_id(raw_object["actor"]))
except ap.ObjectNotFoundError:
logger.warning("Actor not found")
return
except httpx.HTTPStatusError:
logger.exception("Failed to fetch actor")
return