mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix Undo{Announce} recipients
This commit is contained in:
parent
0527e34476
commit
34c7cdb5fb
1 changed files with 3 additions and 1 deletions
|
@ -439,7 +439,9 @@ async def _send_undo(db_session: AsyncSession, ap_object_id: str) -> None:
|
|||
announced_object.announced_via_outbox_object_ap_id = None
|
||||
|
||||
# Send the Undo to the original recipients
|
||||
recipients = await _compute_recipients(db_session, outbox_object.ap_object)
|
||||
recipients = await _compute_recipients(
|
||||
db_session, outbox_object_to_undo.ap_object
|
||||
)
|
||||
for rcp in recipients:
|
||||
await new_outgoing_activity(db_session, rcp, outbox_object.id)
|
||||
elif outbox_object_to_undo.ap_type == "Block":
|
||||
|
|
Loading…
Reference in a new issue