From 4d5005b972664150ba1f38b652304d4c30b2856a Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 16 Oct 2025 11:12:00 -0400 Subject: [PATCH] feat: handle incoming Announce(Delete), closes #13712 --- src/activitypub/inbox.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index 9b5f85db69..9f8f3c5ebe 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -321,6 +321,12 @@ inbox.announce = async (req) => { break; } + case object.type === 'Delete': { + req.body = object; + await inbox.delete(req); + break; + } + case object.type === 'Create': { object = object.object; // falls through