From 3fa74d4cecc130fc584a6f9989fbaeb2da5a47dc Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 15 Oct 2025 12:33:57 -0400 Subject: [PATCH] fix: do not include actor from reflected activity when rebroadcasting remote cid --- src/activitypub/feps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/feps.js b/src/activitypub/feps.js index a84600ca65..9fb0e28680 100644 --- a/src/activitypub/feps.js +++ b/src/activitypub/feps.js @@ -42,7 +42,7 @@ Feps.announce = async function announce(id, activity) { } const { actor } = activity; - if (actor && !actor.startsWith(nconf.get('url'))) { + if (localCid && actor && !actor.startsWith(nconf.get('url'))) { targets.unshift(actor); } const now = Date.now();