From 9a54f6bc7dee61796d7a4aba0e25c9f12c33599c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 29 Jul 2024 13:14:06 -0400 Subject: [PATCH] fix: `audience` property in topic actor response --- src/controllers/activitypub/actors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, };