mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
feat: have category actor send Announce(Note) on remote replies to topics in a cid
#12434
This commit is contained in:
@@ -123,7 +123,9 @@ activitypubApi.create.post = enabledCheck(async (caller, { pid }) => {
|
||||
};
|
||||
|
||||
await activitypub.send('uid', caller.uid, Array.from(targets), payloads.create);
|
||||
await activitypub.send('cid', cid, followers, payloads.announce);
|
||||
if (followers.length) {
|
||||
await activitypub.send('cid', cid, followers, payloads.announce);
|
||||
}
|
||||
});
|
||||
|
||||
activitypubApi.update = {};
|
||||
|
||||
Reference in New Issue
Block a user