mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-18 06:20:20 +01:00
fix: do not include actor from reflected activity when rebroadcasting remote cid
This commit is contained in:
@@ -42,7 +42,7 @@ Feps.announce = async function announce(id, activity) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { actor } = activity;
|
const { actor } = activity;
|
||||||
if (actor && !actor.startsWith(nconf.get('url'))) {
|
if (localCid && actor && !actor.startsWith(nconf.get('url'))) {
|
||||||
targets.unshift(actor);
|
targets.unshift(actor);
|
||||||
}
|
}
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
|
|||||||
Reference in New Issue
Block a user