Node.js based forum software built for the modern web
feat: expose object activity intent, #14253
Julian Lamb76ef6a7525d
diff --git a/src/controllers/well-known.js b/src/controllers/well-known.jsindex db2b663a0e..6c3f31a54f 100644--- a/src/controllers/well-known.js+++ b/src/controllers/well-known.js@@ -81,11 +81,19 @@ async function profile(uid, response) {];if (meta.config.activitypubEnabled) {- response.links.push({- rel: 'self',- type: 'application/activity+json',- href: `${nconf.get('url')}/uid/${uid}`, // actor- });+ response.links.push(+ {+ rel: 'self',+ type: 'application/activity+json',+ href: `${nconf.get('url')}/uid/${uid}`, // actor+ },++ // Activity Intents+ {+ 'rel': 'https://w3id.org/fep/3b86/Object',+ 'template': `${nconf.get('url')}/ap?resource={object}`,+ },+ );}return response;