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();