[fix] add missing save_to_outbox

This commit is contained in:
SouthFox 2023-04-07 11:36:02 +08:00
parent 48bf660338
commit 1d3c924f08

View file

@ -235,6 +235,14 @@ async def _send_accept(
"object": inbox_object.ap_object["id"], #type: ignore
}
#TODO outcoming
await save_to_outbox(
db_session,
reply_id,
out,
relates_to_actor_id=actor.id, # type: ignore
)
await ap.post(url, out) # type: ignore
except Exception as e:
logger.error(e)