Skip to content

Node.js based forum software built for the modern web

fix: `audience` property in topic actor response

Julian Lam9a54f6bc7dee
diff --git a/src/controllers/activitypub/actors.js b/src/controllers/activitypub/actors.js
index 460f65aeef..db477957c9 100644
--- a/src/controllers/activitypub/actors.js
+++ b/src/controllers/activitypub/actors.js
@@ -146,7 +146,7 @@ Actors.topic = async function (req, res, next) {
url: `${nconf.get('url')}/topic/${slug}`,
name,
attributedTo: `${nconf.get('url')}/category/${cid}`,
- audience: cid !== -1 ? `${nconf.get('url')}/category/${cid}/followers` : undefined,
+ audience: cid !== -1 ? `${nconf.get('url')}/category/${cid}` : undefined,
...collection,
};