Node.js based forum software built for the modern web
fix: on topic move out of cid -1, also federate to the public address
Julian Lam909437c30631
diff --git a/src/api/activitypub.js b/src/api/activitypub.jsindex 2f23c483fd..9817a986ec 100644--- a/src/api/activitypub.js+++ b/src/api/activitypub.js@@ -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), {