[fix] add missing save_to_outbox
This commit is contained in:
parent
48bf660338
commit
1d3c924f08
1 changed files with 8 additions and 0 deletions
|
@ -235,6 +235,14 @@ async def _send_accept(
|
||||||
"object": inbox_object.ap_object["id"], #type: ignore
|
"object": inbox_object.ap_object["id"], #type: ignore
|
||||||
}
|
}
|
||||||
#TODO outcoming
|
#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
|
await ap.post(url, out) # type: ignore
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(e)
|
logger.error(e)
|
||||||
|
|
Loading…
Reference in a new issue