mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: send id for category announces
This commit is contained in:
@@ -158,6 +158,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
|
||||
const followers = await activitypub.notes.getCategoryFollowers(cid);
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await activitypub.send('cid', cid, followers, {
|
||||
id: `${object.id}#activity/announce`,
|
||||
type: 'Announce',
|
||||
to: [`${nconf.get('url')}/category/${cid}/followers`],
|
||||
cc: [activitypub._constants.publicAddress],
|
||||
|
||||
Reference in New Issue
Block a user