From 1d3c924f08ef747029e53258ccfff441d2a9ba06 Mon Sep 17 00:00:00 2001 From: southfox Date: Fri, 7 Apr 2023 11:36:02 +0800 Subject: [PATCH] [fix] add missing save_to_outbox --- app/boxes.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/boxes.py b/app/boxes.py index af20c50..8a46ce9 100644 --- a/app/boxes.py +++ b/app/boxes.py @@ -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)