mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
fix: on topic move out of cid -1, also federate to the public address
This commit is contained in:
@@ -316,8 +316,8 @@ activitypubApi.announce.note = enabledCheck(async (caller, { tid }) => {
|
||||
}
|
||||
|
||||
const { to, cc, targets } = await buildRecipients({
|
||||
to: [`${nconf.get('url')}/uid/${caller.uid}/followers`],
|
||||
cc: [uid],
|
||||
to: [activitypub._constants.publicAddress],
|
||||
cc: [`${nconf.get('url')}/uid/${caller.uid}/followers`, uid],
|
||||
}, { uid: caller.uid });
|
||||
|
||||
await activitypub.send('uid', caller.uid, Array.from(targets), {
|
||||
|
||||
Reference in New Issue
Block a user