mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +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;
|
||||
if (actor && !actor.startsWith(nconf.get('url'))) {
|
||||
if (localCid && actor && !actor.startsWith(nconf.get('url'))) {
|
||||
targets.unshift(actor);
|
||||
}
|
||||
const now = Date.now();
|
||||
|
||||
Reference in New Issue
Block a user